#[repr(transparent)]pub struct HidCollectionType(pub i32);
Expand description
Required features: "Devices_HumanInterfaceDevice"
Tuple Fields
0: i32
Implementations
impl HidCollectionType
impl HidCollectionType
pub const Physical: Self = Self(0i32)
pub const Application: Self = Self(1i32)
pub const Logical: Self = Self(2i32)
pub const Report: Self = Self(3i32)
pub const NamedArray: Self = Self(4i32)
pub const UsageSwitch: Self = Self(5i32)
pub const UsageModifier: Self = Self(6i32)
pub const Other: Self = Self(7i32)
Trait Implementations
impl Clone for HidCollectionType
impl Clone for HidCollectionType
impl Copy for HidCollectionType
Auto Trait Implementations
impl RefUnwindSafe for HidCollectionType
impl Send for HidCollectionType
impl Sync for HidCollectionType
impl Unpin for HidCollectionType
impl UnwindSafe for HidCollectionType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more