Struct libusb1_sys::libusb_config_descriptor
source · #[repr(C)]pub struct libusb_config_descriptor {
pub bLength: u8,
pub bDescriptorType: u8,
pub wTotalLength: u16,
pub bNumInterfaces: u8,
pub bConfigurationValue: u8,
pub iConfiguration: u8,
pub bmAttributes: u8,
pub bMaxPower: u8,
pub interface: *const libusb_interface,
pub extra: *const c_uchar,
pub extra_length: c_int,
}
Fields§
§bLength: u8
§bDescriptorType: u8
§wTotalLength: u16
§bNumInterfaces: u8
§bConfigurationValue: u8
§iConfiguration: u8
§bmAttributes: u8
§bMaxPower: u8
§interface: *const libusb_interface
§extra: *const c_uchar
§extra_length: c_int
Auto Trait Implementations§
impl Freeze for libusb_config_descriptor
impl RefUnwindSafe for libusb_config_descriptor
impl !Send for libusb_config_descriptor
impl !Sync for libusb_config_descriptor
impl Unpin for libusb_config_descriptor
impl UnwindSafe for libusb_config_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