#[repr(transparent)]pub struct Brequest(pub u32);
Expand description
SETUP data, byte 1, bRequest
Tuple Fields§
§0: u32
Implementations§
Source§impl Brequest
impl Brequest
Sourcepub const fn brequest(&self) -> Brequest
pub const fn brequest(&self) -> Brequest
SETUP data, byte 1, bRequest. Values provided for standard requests only, user must implement class and vendor values.
Sourcepub fn set_brequest(&mut self, val: Brequest)
pub fn set_brequest(&mut self, val: Brequest)
SETUP data, byte 1, bRequest. Values provided for standard requests only, user must implement class and vendor values.
Trait Implementations§
impl Copy for Brequest
impl Eq for Brequest
impl StructuralPartialEq for Brequest
Auto Trait Implementations§
impl Freeze for Brequest
impl RefUnwindSafe for Brequest
impl Send for Brequest
impl Sync for Brequest
impl Unpin for Brequest
impl UnwindSafe for Brequest
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
)