pub struct DeviceKey {
pub index: u32,
pub device_type: DeviceType,
}Expand description
Device key for unique identification
Fields§
§index: u32Device index
device_type: DeviceTypeDevice type
Implementations§
Trait Implementations§
impl Copy for DeviceKey
impl Eq for DeviceKey
impl StructuralPartialEq for DeviceKey
Auto Trait Implementations§
impl Freeze for DeviceKey
impl RefUnwindSafe for DeviceKey
impl Send for DeviceKey
impl Sync for DeviceKey
impl Unpin for DeviceKey
impl UnsafeUnpin for DeviceKey
impl UnwindSafe for DeviceKey
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