Struct vitasdk_sys::SceUsbdCompositeDriver
source · #[repr(C)]pub struct SceUsbdCompositeDriver {
pub name: *const c_char,
pub probe: Option<unsafe extern "C" fn(device_id: c_int, desc: *mut SceUsbdEndpointDescriptor) -> c_int>,
pub attach: Option<unsafe extern "C" fn(device_id: c_int) -> c_int>,
pub detach: Option<unsafe extern "C" fn(device_id: c_int) -> c_int>,
}Fields§
§name: *const c_char§probe: Option<unsafe extern "C" fn(device_id: c_int, desc: *mut SceUsbdEndpointDescriptor) -> c_int>§attach: Option<unsafe extern "C" fn(device_id: c_int) -> c_int>§detach: Option<unsafe extern "C" fn(device_id: c_int) -> c_int>Trait Implementations§
source§impl Clone for SceUsbdCompositeDriver
impl Clone for SceUsbdCompositeDriver
source§fn clone(&self) -> SceUsbdCompositeDriver
fn clone(&self) -> SceUsbdCompositeDriver
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more