[][src]Struct ndless_sys::usb_device_descriptor_t

#[repr(C, packed)]
pub struct usb_device_descriptor_t { pub bLength: uByte, pub bDescriptorType: uByte, pub bcdUSB: uWord, pub bDeviceClass: uByte, pub bDeviceSubClass: uByte, pub bDeviceProtocol: uByte, pub bMaxPacketSize: uByte, pub idVendor: uWord, pub idProduct: uWord, pub bcdDevice: uWord, pub iManufacturer: uByte, pub iProduct: uByte, pub iSerialNumber: uByte, pub bNumConfigurations: uByte, }

Fields

bLength: uBytebDescriptorType: uBytebcdUSB: uWordbDeviceClass: uBytebDeviceSubClass: uBytebDeviceProtocol: uBytebMaxPacketSize: uByteidVendor: uWordidProduct: uWordbcdDevice: uWordiManufacturer: uByteiProduct: uByteiSerialNumber: uBytebNumConfigurations: uByte

Trait Implementations

impl Copy for usb_device_descriptor_t[src]

impl Debug for usb_device_descriptor_t[src]

impl Clone for usb_device_descriptor_t[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]