#[repr(C)]pub struct usbdevfs_ctrltransfer {
pub bRequestType: u8,
pub bRequest: u8,
pub wValue: u16,
pub wIndex: u16,
pub wLength: u16,
pub timeout: u32,
pub data: *mut c_void,
}Fields§
§bRequestType: u8§bRequest: u8§wValue: u16§wIndex: u16§wLength: u16§timeout: u32§data: *mut c_voidTrait Implementations§
Source§impl Clone for usbdevfs_ctrltransfer
impl Clone for usbdevfs_ctrltransfer
Source§fn clone(&self) -> usbdevfs_ctrltransfer
fn clone(&self) -> usbdevfs_ctrltransfer
Returns a copy 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 moreimpl Copy for usbdevfs_ctrltransfer
Auto Trait Implementations§
impl Freeze for usbdevfs_ctrltransfer
impl RefUnwindSafe for usbdevfs_ctrltransfer
impl !Send for usbdevfs_ctrltransfer
impl !Sync for usbdevfs_ctrltransfer
impl Unpin for usbdevfs_ctrltransfer
impl UnwindSafe for usbdevfs_ctrltransfer
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