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§impl PartialOrd for ModifierDevice
impl PartialOrd for ModifierDevice
impl 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)