Struct capsules_extra::usb::descriptors::DeviceRequestType
source · pub struct DeviceRequestType(/* private fields */);
Implementations§
source§impl DeviceRequestType
impl DeviceRequestType
pub fn transfer_direction(self) -> TransferDirection
pub fn request_type(self) -> RequestType
pub fn recipient(self) -> Recipient
Trait Implementations§
source§impl Clone for DeviceRequestType
impl Clone for DeviceRequestType
source§fn clone(&self) -> DeviceRequestType
fn clone(&self) -> DeviceRequestType
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 Debug for DeviceRequestType
impl Debug for DeviceRequestType
impl Copy for DeviceRequestType
Auto Trait Implementations§
impl Freeze for DeviceRequestType
impl RefUnwindSafe for DeviceRequestType
impl Send for DeviceRequestType
impl Sync for DeviceRequestType
impl Unpin for DeviceRequestType
impl UnwindSafe for DeviceRequestType
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)