Struct libopencm3_sys::usb_device_descriptor [−][src]
#[repr(C, packed)]pub struct usb_device_descriptor { pub bLength: u8, pub bDescriptorType: u8, pub bcdUSB: u16, pub bDeviceClass: u8, pub bDeviceSubClass: u8, pub bDeviceProtocol: u8, pub bMaxPacketSize0: u8, pub idVendor: u16, pub idProduct: u16, pub bcdDevice: u16, pub iManufacturer: u8, pub iProduct: u8, pub iSerialNumber: u8, pub bNumConfigurations: u8, }
Fields
bLength: u8
bDescriptorType: u8
bcdUSB: u16
bDeviceClass: u8
bDeviceSubClass: u8
bDeviceProtocol: u8
bMaxPacketSize0: u8
idVendor: u16
idProduct: u16
bcdDevice: u16
iManufacturer: u8
iProduct: u8
iSerialNumber: u8
bNumConfigurations: u8
Trait Implementations
impl Debug for usb_device_descriptor
[src]
impl Debug for usb_device_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_device_descriptor
[src]
impl Copy for usb_device_descriptor
impl Clone for usb_device_descriptor
[src]
impl Clone for usb_device_descriptor
fn clone(&self) -> usb_device_descriptor
[src]
fn clone(&self) -> usb_device_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_device_descriptor
impl Send for usb_device_descriptor
impl Sync for usb_device_descriptor
impl Sync for usb_device_descriptor