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: u8bDescriptorType: u8bInterfaceNumber: u8bAlternateSetting: u8bNumEndpoints: u8bInterfaceClass: u8bInterfaceSubClass: u8bInterfaceProtocol: u8iInterface: u8endpoint: *const libusb_endpoint_descriptorextra: *const c_ucharextra_length: c_intAuto Trait Implementations
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
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