pub struct Descriptor {
pub usb_version: Version,
pub codes: Codes,
pub max_packet_size: u8,
pub device_identifier: DeviceIdentifier,
pub device_version: Version,
pub string_indices: StringIndices,
pub num_configurations: u8,
}Fields§
§usb_version: Version§codes: Codes§max_packet_size: u8§device_identifier: DeviceIdentifier§device_version: Version§string_indices: StringIndices§num_configurations: u8Auto Trait Implementations§
impl Freeze for Descriptor
impl RefUnwindSafe for Descriptor
impl Send for Descriptor
impl Sync for Descriptor
impl Unpin for Descriptor
impl UnsafeUnpin for Descriptor
impl UnwindSafe for Descriptor
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