pub enum Item {
Long(LongItem),
Main(Main),
Global(Global),
Local(Local),
Reserved(u8),
}Expand description
An HID report descriptor Item.
Variants§
Long(LongItem)
An undecoded “long” item.
According to the spec (Device Class Definition for Human Interface Devices, section 6.2.2.3), there are no standard-defined uses for this encoding.
Main(Main)
A Main item.
See Device Class Definition for Human Interface Devices, section 6.2.2.4.
Global(Global)
A Global item.
Local(Local)
A Local item.
Reserved(u8)
A reserved item value.
This should not be used; the descriptor cannot be properly decoded.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnsafeUnpin for Item
impl UnwindSafe for Item
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