Struct x11rb_protocol::protocol::xinput::ModifierDevice
source · pub struct ModifierDevice(u8);
Tuple Fields§
§0: u8
Implementations§
source§impl ModifierDevice
impl ModifierDevice
pub const USE_X_KEYBOARD: Self = _
Trait Implementations§
source§impl Clone for ModifierDevice
impl Clone for ModifierDevice
source§fn clone(&self) -> ModifierDevice
fn clone(&self) -> ModifierDevice
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 ModifierDevice
impl Debug for ModifierDevice
source§impl Default for ModifierDevice
impl Default for ModifierDevice
source§fn default() -> ModifierDevice
fn default() -> ModifierDevice
Returns the “default value” for a type. Read more
source§impl From<ModifierDevice> for Option<u16>
impl From<ModifierDevice> for Option<u16>
source§fn from(input: ModifierDevice) -> Self
fn from(input: ModifierDevice) -> Self
Converts to this type from the input type.
source§impl From<ModifierDevice> for Option<u32>
impl From<ModifierDevice> for Option<u32>
source§fn from(input: ModifierDevice) -> Self
fn from(input: ModifierDevice) -> Self
Converts to this type from the input type.
source§impl From<ModifierDevice> for Option<u8>
impl From<ModifierDevice> for Option<u8>
source§fn from(input: ModifierDevice) -> Self
fn from(input: ModifierDevice) -> Self
Converts to this type from the input type.
source§impl From<ModifierDevice> for u16
impl From<ModifierDevice> for u16
source§fn from(input: ModifierDevice) -> Self
fn from(input: ModifierDevice) -> Self
Converts to this type from the input type.
source§impl From<ModifierDevice> for u32
impl From<ModifierDevice> for u32
source§fn from(input: ModifierDevice) -> Self
fn from(input: ModifierDevice) -> Self
Converts to this type from the input type.
source§impl From<ModifierDevice> for u8
impl From<ModifierDevice> for u8
source§fn from(input: ModifierDevice) -> Self
fn from(input: ModifierDevice) -> Self
Converts to this type from the input type.
source§impl From<u8> for ModifierDevice
impl From<u8> for ModifierDevice
source§impl Hash for ModifierDevice
impl Hash for ModifierDevice
source§impl Ord for ModifierDevice
impl Ord for ModifierDevice
source§fn cmp(&self, other: &ModifierDevice) -> Ordering
fn cmp(&self, other: &ModifierDevice) -> 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 ModifierDevice
impl PartialEq for ModifierDevice
source§fn eq(&self, other: &ModifierDevice) -> bool
fn eq(&self, other: &ModifierDevice) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ModifierDevice
impl PartialOrd for ModifierDevice
source§fn partial_cmp(&self, other: &ModifierDevice) -> Option<Ordering>
fn partial_cmp(&self, other: &ModifierDevice) -> 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 ModifierDevice
impl Eq for ModifierDevice
impl StructuralPartialEq for ModifierDevice
Auto Trait Implementations§
impl Freeze for ModifierDevice
impl RefUnwindSafe for ModifierDevice
impl Send for ModifierDevice
impl Sync for ModifierDevice
impl Unpin for ModifierDevice
impl UnwindSafe for ModifierDevice
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