#[repr(C)]
pub struct FuriHalUsbInterface { pub init: Option<unsafe extern "C" fn(dev: *mut usbd_device, intf: *mut FuriHalUsbInterface, ctx: *mut c_void)>, pub deinit: Option<unsafe extern "C" fn(dev: *mut usbd_device)>, pub wakeup: Option<unsafe extern "C" fn(dev: *mut usbd_device)>, pub suspend: Option<unsafe extern "C" fn(dev: *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(dev: *mut usbd_device, intf: *mut FuriHalUsbInterface, ctx: *mut c_void)>§deinit: Option<unsafe extern "C" fn(dev: *mut usbd_device)>§wakeup: Option<unsafe extern "C" fn(dev: *mut usbd_device)>§suspend: Option<unsafe extern "C" fn(dev: *mut usbd_device)>§dev_descr: *mut usb_device_descriptor§str_manuf_descr: *mut c_void§str_prod_descr: *mut c_void§str_serial_descr: *mut c_void§cfg_descr: *mut c_void

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
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.