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