Struct usb_sys::usbdevfs_ctrltransfer
source · #[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_void
Trait 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 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