Enum xcb::xinput::GrabMode22
source · #[repr(u32)]pub enum GrabMode22 {
Sync = 0,
Async = 1,
Touch = 2,
}
Variants§
Trait Implementations§
source§impl Clone for GrabMode22
impl Clone for GrabMode22
source§fn clone(&self) -> GrabMode22
fn clone(&self) -> GrabMode22
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 GrabMode22
impl Debug for GrabMode22
source§impl Ord for GrabMode22
impl Ord for GrabMode22
source§fn cmp(&self, other: &GrabMode22) -> Ordering
fn cmp(&self, other: &GrabMode22) -> 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 GrabMode22
impl PartialEq for GrabMode22
source§fn eq(&self, other: &GrabMode22) -> bool
fn eq(&self, other: &GrabMode22) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GrabMode22
impl PartialOrd for GrabMode22
source§fn partial_cmp(&self, other: &GrabMode22) -> Option<Ordering>
fn partial_cmp(&self, other: &GrabMode22) -> 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 GrabMode22
impl Eq for GrabMode22
impl StructuralPartialEq for GrabMode22
Auto Trait Implementations§
impl Freeze for GrabMode22
impl RefUnwindSafe for GrabMode22
impl Send for GrabMode22
impl Sync for GrabMode22
impl Unpin for GrabMode22
impl UnwindSafe for GrabMode22
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