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: u8bDescriptorType: u8wTotalLength: u16bNumInterfaces: u8bConfigurationValue: u8iConfiguration: u8bmAttributes: u8bMaxPower: u8interface: *const libusb_interfaceextra: *const c_ucharextra_length: c_intAuto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more