pub struct CtrRequestType { /* private fields */ }
Expand description
CtrRequestType
holds bmRequestType of SETUP
packet.
Implementations§
Source§impl CtrRequestType
impl CtrRequestType
Trait Implementations§
Source§impl Clone for CtrRequestType
impl Clone for CtrRequestType
Source§fn clone(&self) -> CtrRequestType
fn clone(&self) -> CtrRequestType
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 CtrRequestType
impl Debug for CtrRequestType
Source§impl From<CtrRequestType> for u8
impl From<CtrRequestType> for u8
Source§fn from(val: CtrRequestType) -> Self
fn from(val: CtrRequestType) -> Self
Converts to this type from the input type.
Source§impl From<u8> for CtrRequestType
impl From<u8> for CtrRequestType
Source§impl PartialEq for CtrRequestType
impl PartialEq for CtrRequestType
impl Copy for CtrRequestType
impl Eq for CtrRequestType
impl StructuralPartialEq for CtrRequestType
Auto Trait Implementations§
impl Freeze for CtrRequestType
impl RefUnwindSafe for CtrRequestType
impl Send for CtrRequestType
impl Sync for CtrRequestType
impl Unpin for CtrRequestType
impl UnwindSafe for CtrRequestType
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