#[repr(C)]pub struct BmRequestType {
pub direction: Direction,
pub request_type: RequestType,
pub recipient: Recipient,
}Fields§
§direction: Direction§request_type: RequestType§recipient: RecipientImplementations§
Source§impl BmRequestType
impl BmRequestType
pub const fn new( direction: Direction, transfer_type: RequestType, recipient: Recipient, ) -> BmRequestType
Trait Implementations§
Source§impl Clone for BmRequestType
impl Clone for BmRequestType
Source§fn clone(&self) -> BmRequestType
fn clone(&self) -> BmRequestType
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 moreAuto 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