[][src]Struct pspsdk_sys::sdk::UsbData

#[repr(C, packed)]pub struct UsbData {
    pub devdesc: [c_uchar; 20],
    pub config: UsbData_Config,
    pub confdesc: UsbData_ConfDesc,
    pub pad1: [c_uchar; 8],
    pub interfaces: UsbData_Interfaces,
    pub interdesc: UsbData_InterDesc,
    pub endp: [UsbData_Endp; 4],
}

Padded data structure, padding is required otherwise the USB hardware crashes

Fields

devdesc: [c_uchar; 20]config: UsbData_Configconfdesc: UsbData_ConfDescpad1: [c_uchar; 8]interfaces: UsbData_Interfacesinterdesc: UsbData_InterDescendp: [UsbData_Endp; 4]

Trait Implementations

impl Clone for UsbData[src]

impl Copy for UsbData[src]

impl Debug for UsbData[src]

Auto Trait Implementations

impl !Send for UsbData

impl !Sync for UsbData

impl Unpin for UsbData

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.