Struct libusb1_sys::libusb_interface_descriptor
source · #[repr(C)]pub struct libusb_interface_descriptor {
pub bLength: u8,
pub bDescriptorType: u8,
pub bInterfaceNumber: u8,
pub bAlternateSetting: u8,
pub bNumEndpoints: u8,
pub bInterfaceClass: u8,
pub bInterfaceSubClass: u8,
pub bInterfaceProtocol: u8,
pub iInterface: u8,
pub endpoint: *const libusb_endpoint_descriptor,
pub extra: *const c_uchar,
pub extra_length: c_int,
}
Fields§
§bLength: u8
§bDescriptorType: u8
§bInterfaceNumber: u8
§bAlternateSetting: u8
§bNumEndpoints: u8
§bInterfaceClass: u8
§bInterfaceSubClass: u8
§bInterfaceProtocol: u8
§iInterface: u8
§endpoint: *const libusb_endpoint_descriptor
§extra: *const c_uchar
§extra_length: c_int
Auto Trait Implementations§
impl Freeze for libusb_interface_descriptor
impl RefUnwindSafe for libusb_interface_descriptor
impl !Send for libusb_interface_descriptor
impl !Sync for libusb_interface_descriptor
impl Unpin for libusb_interface_descriptor
impl UnwindSafe for libusb_interface_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