pub struct CtrlReq {
pub request_type: u8,
pub request: u8,
pub value: u16,
pub index: u16,
pub length: u16,
}Expand description
USB control request.
Fields§
§request_type: u8Request type.
request: u8Request.
value: u16Value.
index: u16Index.
length: u16Length.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CtrlReq
impl RefUnwindSafe for CtrlReq
impl Send for CtrlReq
impl Sync for CtrlReq
impl Unpin for CtrlReq
impl UnsafeUnpin for CtrlReq
impl UnwindSafe for CtrlReq
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