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