#[repr(C)]pub struct usb_ctl_request {
pub ucr_addr: c_int,
pub ucr_request: usb_device_request_t,
pub ucr_data: *mut c_void,
pub ucr_flags: c_int,
pub ucr_actlen: c_int,
}
Expand description
ioctl() related stuff
Fields§
§ucr_addr: c_int
§ucr_request: usb_device_request_t
§ucr_data: *mut c_void
§ucr_flags: c_int
§ucr_actlen: c_int
Trait Implementations§
Source§impl Clone for usb_ctl_request
impl Clone for usb_ctl_request
Source§fn clone(&self) -> usb_ctl_request
fn clone(&self) -> usb_ctl_request
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 usb_ctl_request
impl Debug for usb_ctl_request
impl Copy for usb_ctl_request
Auto Trait Implementations§
impl Freeze for usb_ctl_request
impl RefUnwindSafe for usb_ctl_request
impl !Send for usb_ctl_request
impl !Sync for usb_ctl_request
impl Unpin for usb_ctl_request
impl UnwindSafe for usb_ctl_request
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