[][src]Struct linux_usb_functionfs_sys::usb_device_descriptor

#[repr(C, packed)]pub struct usb_device_descriptor {
    pub bLength: __u8,
    pub bDescriptorType: __u8,
    pub bcdUSB: __le16,
    pub bDeviceClass: __u8,
    pub bDeviceSubClass: __u8,
    pub bDeviceProtocol: __u8,
    pub bMaxPacketSize0: __u8,
    pub idVendor: __le16,
    pub idProduct: __le16,
    pub bcdDevice: __le16,
    pub iManufacturer: __u8,
    pub iProduct: __u8,
    pub iSerialNumber: __u8,
    pub bNumConfigurations: __u8,
}

Fields

bLength: __u8bDescriptorType: __u8bcdUSB: __le16bDeviceClass: __u8bDeviceSubClass: __u8bDeviceProtocol: __u8bMaxPacketSize0: __u8idVendor: __le16idProduct: __le16bcdDevice: __le16iManufacturer: __u8iProduct: __u8iSerialNumber: __u8bNumConfigurations: __u8

Trait Implementations

impl Clone for usb_device_descriptor[src]

impl Copy for usb_device_descriptor[src]

impl Debug for usb_device_descriptor[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.