Enum xcb::xinput::DeviceChange
source · #[repr(u32)]pub enum DeviceChange {
Added = 0,
Removed = 1,
Enabled = 2,
Disabled = 3,
Unrecoverable = 4,
ControlChanged = 5,
}
Variants§
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 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§impl PartialOrd for DeviceChange
impl PartialOrd for DeviceChange
impl 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
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
)