#[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§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.