Struct x11rb::protocol::xinput::GrabMode22
source · pub struct GrabMode22(u8);
Tuple Fields§
§0: u8
Implementations§
source§impl GrabMode22
impl GrabMode22
pub const SYNC: GrabMode22 = _
pub const ASYNC: GrabMode22 = _
pub const TOUCH: GrabMode22 = _
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 Default for GrabMode22
impl Default for GrabMode22
source§fn default() -> GrabMode22
fn default() -> GrabMode22
Returns the “default value” for a type. Read more
source§impl From<u8> for GrabMode22
impl From<u8> for GrabMode22
source§fn from(value: u8) -> GrabMode22
fn from(value: u8) -> GrabMode22
Converts to this type from the input type.
source§impl Hash for GrabMode22
impl Hash 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