[][src]Struct pspsdk_sys::sdk::InterfaceDescriptor

#[repr(C, packed)]pub struct InterfaceDescriptor {
    pub bLength: c_uchar,
    pub bDescriptorType: c_uchar,
    pub bInterfaceNumber: c_uchar,
    pub bAlternateSetting: c_uchar,
    pub bNumEndpoints: c_uchar,
    pub bInterfaceClass: c_uchar,
    pub bInterfaceSubClass: c_uchar,
    pub bInterfaceProtocol: c_uchar,
    pub iInterface: c_uchar,
}

USB Interface descriptor

Fields

bLength: c_ucharbDescriptorType: c_ucharbInterfaceNumber: c_ucharbAlternateSetting: c_ucharbNumEndpoints: c_ucharbInterfaceClass: c_ucharbInterfaceSubClass: c_ucharbInterfaceProtocol: c_uchariInterface: c_uchar

Trait Implementations

impl Clone for InterfaceDescriptor[src]

impl Copy for InterfaceDescriptor[src]

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