#[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_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.