#[repr(C, packed(1))]pub struct USB_CONFIGURATION_DESCRIPTOR {
pub bLength: UCHAR,
pub bDescriptorType: UCHAR,
pub wTotalLength: USHORT,
pub bNumInterfaces: UCHAR,
pub bConfigurationValue: UCHAR,
pub iConfiguration: UCHAR,
pub bmAttributes: UCHAR,
pub MaxPower: UCHAR,
}Fields§
§bLength: UCHAR§bDescriptorType: UCHAR§wTotalLength: USHORT§bNumInterfaces: UCHAR§bConfigurationValue: UCHAR§iConfiguration: UCHAR§bmAttributes: UCHAR§MaxPower: UCHARTrait Implementations§
Source§impl Clone for USB_CONFIGURATION_DESCRIPTOR
impl Clone for USB_CONFIGURATION_DESCRIPTOR
Source§fn clone(&self) -> USB_CONFIGURATION_DESCRIPTOR
fn clone(&self) -> USB_CONFIGURATION_DESCRIPTOR
Returns a duplicate 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 moreSource§impl Default for USB_CONFIGURATION_DESCRIPTOR
impl Default for USB_CONFIGURATION_DESCRIPTOR
Source§fn default() -> USB_CONFIGURATION_DESCRIPTOR
fn default() -> USB_CONFIGURATION_DESCRIPTOR
Returns the “default value” for a type. Read more
impl Copy for USB_CONFIGURATION_DESCRIPTOR
Auto Trait Implementations§
impl Freeze for USB_CONFIGURATION_DESCRIPTOR
impl RefUnwindSafe for USB_CONFIGURATION_DESCRIPTOR
impl Send for USB_CONFIGURATION_DESCRIPTOR
impl Sync for USB_CONFIGURATION_DESCRIPTOR
impl Unpin for USB_CONFIGURATION_DESCRIPTOR
impl UnwindSafe for USB_CONFIGURATION_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