Enum nrf52840_pac::usbd::bmrequesttype::DIRECTION_A
source · pub enum DIRECTION_A {
HOST_TO_DEVICE = 0,
DEVICE_TO_HOST = 1,
}
Expand description
Data transfer direction
Value on reset: 0
Variants§
Trait Implementations§
source§impl Clone for DIRECTION_A
impl Clone for DIRECTION_A
source§fn clone(&self) -> DIRECTION_A
fn clone(&self) -> DIRECTION_A
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 DIRECTION_A
impl Debug for DIRECTION_A
source§impl From<DIRECTION_A> for bool
impl From<DIRECTION_A> for bool
source§fn from(variant: DIRECTION_A) -> Self
fn from(variant: DIRECTION_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for DIRECTION_A
impl PartialEq for DIRECTION_A
impl Copy for DIRECTION_A
impl StructuralPartialEq for DIRECTION_A
Auto Trait Implementations§
impl Freeze for DIRECTION_A
impl RefUnwindSafe for DIRECTION_A
impl Send for DIRECTION_A
impl Sync for DIRECTION_A
impl Unpin for DIRECTION_A
impl UnwindSafe for DIRECTION_A
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
)