#[repr(C)]pub struct 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 ctrltransfer
impl Clone for ctrltransfer
Source§fn clone(&self) -> ctrltransfer
fn clone(&self) -> 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 ctrltransfer
impl Debug for ctrltransfer
impl Copy for ctrltransfer
Auto Trait Implementations§
impl Freeze for ctrltransfer
impl RefUnwindSafe for ctrltransfer
impl !Send for ctrltransfer
impl !Sync for ctrltransfer
impl Unpin for ctrltransfer
impl UnwindSafe for 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