pub struct FuriHalUsbInterface {
    pub init: Option<unsafe extern "C" fn(*mut _usbd_device, *mut FuriHalUsbInterface, *mut c_void)>,
    pub deinit: Option<unsafe extern "C" fn(*mut _usbd_device)>,
    pub wakeup: Option<unsafe extern "C" fn(*mut _usbd_device)>,
    pub suspend: Option<unsafe extern "C" fn(*mut _usbd_device)>,
    pub dev_descr: *mut usb_device_descriptor,
    pub str_manuf_descr: *mut c_void,
    pub str_prod_descr: *mut c_void,
    pub str_serial_descr: *mut c_void,
    pub cfg_descr: *mut c_void,
}

Fields

init: Option<unsafe extern "C" fn(*mut _usbd_device, *mut FuriHalUsbInterface, *mut c_void)>deinit: Option<unsafe extern "C" fn(*mut _usbd_device)>wakeup: Option<unsafe extern "C" fn(*mut _usbd_device)>suspend: Option<unsafe extern "C" fn(*mut _usbd_device)>dev_descr: *mut usb_device_descriptorstr_manuf_descr: *mut c_voidstr_prod_descr: *mut c_voidstr_serial_descr: *mut c_voidcfg_descr: *mut c_void

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.