Enum HidSubClass
#[repr(u8)]pub enum HidSubClass {
NoSubClass = 0,
Boot = 1,
}
Expand description
Used to enable Boot mode descriptors for Mouse and Keyboard devices. See (4.2): https://www.usb.org/sites/default/files/hid1_11.pdf Boot mode descriptors are fixed and must follow a strict format. See (Appendix F): https://www.usb.org/sites/default/files/hid1_11.pdf
Variants§
Trait Implementations§
§impl Clone for HidSubClass
impl Clone for HidSubClass
§fn clone(&self) -> HidSubClass
fn clone(&self) -> HidSubClass
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for HidSubClass
impl Debug for HidSubClass
§impl Format for HidSubClass
impl Format for HidSubClass
§impl PartialEq for HidSubClass
impl PartialEq for HidSubClass
impl Copy for HidSubClass
impl Eq for HidSubClass
impl StructuralPartialEq for HidSubClass
Auto Trait Implementations§
impl Freeze for HidSubClass
impl RefUnwindSafe for HidSubClass
impl Send for HidSubClass
impl Sync for HidSubClass
impl Unpin for HidSubClass
impl UnwindSafe for HidSubClass
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