#[repr(transparent)]pub struct Bmrequesttype(pub u32);
Expand description
SETUP data, byte 0, bmRequestType
Tuple Fields§
§0: u32
Implementations§
Source§impl Bmrequesttype
impl Bmrequesttype
Sourcepub fn set_recipient(&mut self, val: Recipient)
pub fn set_recipient(&mut self, val: Recipient)
Data transfer type
Sourcepub fn set_direction(&mut self, val: Io)
pub fn set_direction(&mut self, val: Io)
Data transfer direction
Trait Implementations§
Source§impl Clone for Bmrequesttype
impl Clone for Bmrequesttype
Source§fn clone(&self) -> Bmrequesttype
fn clone(&self) -> Bmrequesttype
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 Default for Bmrequesttype
impl Default for Bmrequesttype
Source§fn default() -> Bmrequesttype
fn default() -> Bmrequesttype
Returns the “default value” for a type. Read more
Source§impl PartialEq for Bmrequesttype
impl PartialEq for Bmrequesttype
impl Copy for Bmrequesttype
impl Eq for Bmrequesttype
impl StructuralPartialEq for Bmrequesttype
Auto Trait Implementations§
impl Freeze for Bmrequesttype
impl RefUnwindSafe for Bmrequesttype
impl Send for Bmrequesttype
impl Sync for Bmrequesttype
impl Unpin for Bmrequesttype
impl UnwindSafe for Bmrequesttype
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)