#[repr(C)]pub struct usb_ctrl_setup {
pub bRequestType: u8,
pub bRequest: u8,
pub wValue: u16,
pub wIndex: u16,
pub wLength: u16,
}Fields§
§bRequestType: u8§bRequest: u8§wValue: u16§wIndex: u16§wLength: u16Trait Implementations§
Source§impl Clone for usb_ctrl_setup
impl Clone for usb_ctrl_setup
Source§fn clone(&self) -> usb_ctrl_setup
fn clone(&self) -> usb_ctrl_setup
Returns a duplicate 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_ctrl_setup
impl Debug for usb_ctrl_setup
impl Copy for usb_ctrl_setup
Auto Trait Implementations§
impl Freeze for usb_ctrl_setup
impl RefUnwindSafe for usb_ctrl_setup
impl Send for usb_ctrl_setup
impl Sync for usb_ctrl_setup
impl Unpin for usb_ctrl_setup
impl UnwindSafe for usb_ctrl_setup
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