[][src]Struct pspsdk_sys::sdk::DeviceDescriptor

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

USB device descriptor

Fields

bLength: c_ucharbDescriptorType: c_ucharbcdUSB: c_ushortbDeviceClass: c_ucharbDeviceSubClass: c_ucharbDeviceProtocol: c_ucharbMaxPacketSize: c_ucharidVendor: c_ushortidProduct: c_ushortbcdDevice: c_ushortiManufacturer: c_uchariProduct: c_uchariSerialNumber: c_ucharbNumConfigurations: c_uchar

Trait Implementations

impl Clone for DeviceDescriptor[src]

impl Copy for DeviceDescriptor[src]

impl Debug for DeviceDescriptor[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, 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.