pub struct LongItem {
pub tag: u8,
pub data: Vec<u8>,
}Expand description
An item using the “long” encoding.
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.
Fields§
§tag: u8§data: Vec<u8>Trait Implementations§
Auto Trait Implementations§
impl Freeze for LongItem
impl RefUnwindSafe for LongItem
impl Send for LongItem
impl Sync for LongItem
impl Unpin for LongItem
impl UnsafeUnpin for LongItem
impl UnwindSafe for LongItem
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