Struct x11rb::protocol::xinput::ModifierDevice
source · pub struct ModifierDevice(/* private fields */);
Implementations§
source§impl ModifierDevice
impl ModifierDevice
pub const USE_X_KEYBOARD: ModifierDevice = _
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<u8> for ModifierDevice
impl From<u8> for ModifierDevice
source§fn from(value: u8) -> ModifierDevice
fn from(value: u8) -> ModifierDevice
Converts to this type from the input type.
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 StructuralEq for ModifierDevice
impl StructuralPartialEq for ModifierDevice
Auto Trait Implementations§
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