Struct libopencm3_sys::usb_interface_descriptor [−][src]
#[repr(C, packed)]pub struct usb_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 usb_endpoint_descriptor, pub extra: *const c_void, pub extralen: c_int, }
Fields
bLength: u8
bDescriptorType: u8
bInterfaceNumber: u8
bAlternateSetting: u8
bNumEndpoints: u8
bInterfaceClass: u8
bInterfaceSubClass: u8
bInterfaceProtocol: u8
iInterface: u8
endpoint: *const usb_endpoint_descriptor
extra: *const c_void
extralen: c_int
Trait Implementations
impl Debug for usb_interface_descriptor
[src]
impl Debug for usb_interface_descriptor
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for usb_interface_descriptor
[src]
impl Copy for usb_interface_descriptor
impl Clone for usb_interface_descriptor
[src]
impl Clone for usb_interface_descriptor
fn clone(&self) -> usb_interface_descriptor
[src]
fn clone(&self) -> usb_interface_descriptor
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !Send for usb_interface_descriptor
impl !Send for usb_interface_descriptor
impl !Sync for usb_interface_descriptor
impl !Sync for usb_interface_descriptor