#[repr(C, packed(1))]pub struct ConfigDescriptor {
pub bLength: c_uchar,
pub bDescriptorType: c_uchar,
pub wTotalLength: c_ushort,
pub bNumInterfaces: c_uchar,
pub bConfigurationValue: c_uchar,
pub iConfiguration: c_uchar,
pub bmAttributes: c_uchar,
pub bMaxPower: c_uchar,
}Expand description
USB configuration descriptor
Fields§
§bLength: c_uchar§bDescriptorType: c_uchar§wTotalLength: c_ushort§bNumInterfaces: c_uchar§bConfigurationValue: c_uchar§iConfiguration: c_uchar§bmAttributes: c_uchar§bMaxPower: c_ucharTrait Implementations§
Source§impl Clone for ConfigDescriptor
impl Clone for ConfigDescriptor
Source§impl Debug for ConfigDescriptor
impl Debug for ConfigDescriptor
impl Copy for ConfigDescriptor
Auto Trait Implementations§
impl Freeze for ConfigDescriptor
impl RefUnwindSafe for ConfigDescriptor
impl Send for ConfigDescriptor
impl Sync for ConfigDescriptor
impl Unpin for ConfigDescriptor
impl UnsafeUnpin for ConfigDescriptor
impl UnwindSafe for ConfigDescriptor
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