Struct x11rb::protocol::xinput::DeviceChange
source · pub struct DeviceChange(u8);
Tuple Fields§
§0: u8
Implementations§
source§impl DeviceChange
impl DeviceChange
pub const ADDED: DeviceChange = _
pub const REMOVED: DeviceChange = _
pub const ENABLED: DeviceChange = _
pub const DISABLED: DeviceChange = _
pub const UNRECOVERABLE: DeviceChange = _
pub const CONTROL_CHANGED: 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<u8> for DeviceChange
impl From<u8> for DeviceChange
source§fn from(value: u8) -> DeviceChange
fn from(value: u8) -> DeviceChange
Converts to this type from the input type.
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