Struct capsules_extra::usb::descriptors::HIDDescriptor
source · pub struct HIDDescriptor<'a> {
pub hid_class: u16,
pub country_code: HIDCountryCode,
pub sub_descriptors: &'a [HIDSubordinateDescriptor],
}
Fields§
§hid_class: u16
§country_code: HIDCountryCode
§sub_descriptors: &'a [HIDSubordinateDescriptor]
Trait Implementations§
source§impl<'a> Descriptor for HIDDescriptor<'a>
impl<'a> Descriptor for HIDDescriptor<'a>
Auto Trait Implementations§
impl<'a> Freeze for HIDDescriptor<'a>
impl<'a> RefUnwindSafe for HIDDescriptor<'a>
impl<'a> Send for HIDDescriptor<'a>
impl<'a> Sync for HIDDescriptor<'a>
impl<'a> Unpin for HIDDescriptor<'a>
impl<'a> UnwindSafe for HIDDescriptor<'a>
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