[][src]Struct pspsdk_sys::sdk::ConfigDescriptor

#[repr(C, packed)]pub struct ConfigDescriptor {
    pub bLength: c_uchar,
    pub bDescriptorType: c_uchar,
    pub wTotalLength: c_ushort,
    pub bNumInterfaces: c_uchar,
    pub bConfigurationValue: c_uchar,
    pub iConfiguration: c_uchar,
    pub bmAttributes: c_uchar,
    pub bMaxPower: c_uchar,
}

USB configuration descriptor

Fields

bLength: c_ucharbDescriptorType: c_ucharwTotalLength: c_ushortbNumInterfaces: c_ucharbConfigurationValue: c_uchariConfiguration: c_ucharbmAttributes: c_ucharbMaxPower: c_uchar

Trait Implementations

impl Clone for ConfigDescriptor[src]

impl Copy for ConfigDescriptor[src]

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