#[repr(C)]pub struct usb_attach_arg {
pub port: c_int,
pub configno: c_int,
pub ifaceno: c_int,
pub vendor: c_int,
pub product: c_int,
pub release: c_int,
pub device: usbd_device_handle,
pub iface: usbd_interface_handle,
pub usegeneric: c_int,
pub ifaces: *mut usbd_interface_handle,
pub nifaces: c_int,
}Fields§
§port: c_int§configno: c_int§ifaceno: c_int§vendor: c_int§product: c_int§release: c_int§device: usbd_device_handle§iface: usbd_interface_handle§usegeneric: c_int§ifaces: *mut usbd_interface_handle§nifaces: c_intTrait Implementations§
Source§impl Clone for usb_attach_arg
impl Clone for usb_attach_arg
Source§fn clone(&self) -> usb_attach_arg
fn clone(&self) -> usb_attach_arg
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for usb_attach_arg
impl Debug for usb_attach_arg
impl Copy for usb_attach_arg
Auto Trait Implementations§
impl Freeze for usb_attach_arg
impl RefUnwindSafe for usb_attach_arg
impl !Send for usb_attach_arg
impl !Sync for usb_attach_arg
impl Unpin for usb_attach_arg
impl UnwindSafe for usb_attach_arg
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more