#[repr(C, packed(1))]pub struct usb_config_descriptor_t {
pub bLength: uByte,
pub bDescriptorType: uByte,
pub wTotalLength: uWord,
pub bNumInterface: uByte,
pub bConfigurationValue: uByte,
pub iConfiguration: uByte,
pub bmAttributes: uByte,
pub bMaxPower: uByte,
}Fields§
§bLength: uByte§bDescriptorType: uByte§wTotalLength: uWord§bNumInterface: uByte§bConfigurationValue: uByte§iConfiguration: uByte§bmAttributes: uByte§bMaxPower: uByteTrait Implementations§
Source§impl Clone for usb_config_descriptor_t
impl Clone for usb_config_descriptor_t
Source§fn clone(&self) -> usb_config_descriptor_t
fn clone(&self) -> usb_config_descriptor_t
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 Debug for usb_config_descriptor_t
impl Debug for usb_config_descriptor_t
impl Copy for usb_config_descriptor_t
Auto Trait Implementations§
impl Freeze for usb_config_descriptor_t
impl RefUnwindSafe for usb_config_descriptor_t
impl Send for usb_config_descriptor_t
impl Sync for usb_config_descriptor_t
impl Unpin for usb_config_descriptor_t
impl UnwindSafe for usb_config_descriptor_t
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