pub enum HidUsage {
Keyboard(u8),
Consumer(u16),
}Expand description
Which HID report a key is sent in, and its usage ID there.
Variants§
Trait Implementations§
impl Copy for HidUsage
impl Eq for HidUsage
impl StructuralPartialEq for HidUsage
Auto Trait Implementations§
impl Freeze for HidUsage
impl RefUnwindSafe for HidUsage
impl Send for HidUsage
impl Sync for HidUsage
impl Unpin for HidUsage
impl UnsafeUnpin for HidUsage
impl UnwindSafe for HidUsage
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