Struct linux_rust_bindings::usb::usb_x86::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 moresource§impl Debug for usbdevfs_ctrltransfer
impl Debug for usbdevfs_ctrltransfer
impl 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