Enum xcb::present::CompleteMode
source · #[repr(u32)]pub enum CompleteMode {
Copy = 0,
Flip = 1,
Skip = 2,
SuboptimalCopy = 3,
}
Variants§
Trait Implementations§
source§impl Clone for CompleteMode
impl Clone for CompleteMode
source§fn clone(&self) -> CompleteMode
fn clone(&self) -> CompleteMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CompleteMode
impl Debug for CompleteMode
source§impl Ord for CompleteMode
impl Ord for CompleteMode
source§fn cmp(&self, other: &CompleteMode) -> Ordering
fn cmp(&self, other: &CompleteMode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for CompleteMode
impl PartialEq for CompleteMode
source§fn eq(&self, other: &CompleteMode) -> bool
fn eq(&self, other: &CompleteMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CompleteMode
impl PartialOrd for CompleteMode
source§fn partial_cmp(&self, other: &CompleteMode) -> Option<Ordering>
fn partial_cmp(&self, other: &CompleteMode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CompleteMode
impl Eq for CompleteMode
impl StructuralPartialEq for CompleteMode
Auto Trait Implementations§
impl Freeze for CompleteMode
impl RefUnwindSafe for CompleteMode
impl Send for CompleteMode
impl Sync for CompleteMode
impl Unpin for CompleteMode
impl UnwindSafe for CompleteMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more