#[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 duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DeviceChange
Source§impl Debug for DeviceChange
impl Debug for DeviceChange
impl Eq 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 (const: unstable) · 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 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 UnsafeUnpin 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