Enum nrf52820_pac::usbd::bmrequesttype::RECIPIENT_A
source · [−]#[repr(u8)]
pub enum RECIPIENT_A {
DEVICE,
INTERFACE,
ENDPOINT,
OTHER,
}
Expand description
Data transfer type
Value on reset: 0
Variants
DEVICE
0: Device
INTERFACE
1: Interface
ENDPOINT
2: Endpoint
OTHER
3: Other
Trait Implementations
sourceimpl Clone for RECIPIENT_A
impl Clone for RECIPIENT_A
sourcefn clone(&self) -> RECIPIENT_A
fn clone(&self) -> RECIPIENT_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RECIPIENT_A
impl Debug for RECIPIENT_A
sourceimpl From<RECIPIENT_A> for u8
impl From<RECIPIENT_A> for u8
sourcefn from(variant: RECIPIENT_A) -> Self
fn from(variant: RECIPIENT_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<RECIPIENT_A> for RECIPIENT_A
impl PartialEq<RECIPIENT_A> for RECIPIENT_A
sourcefn eq(&self, other: &RECIPIENT_A) -> bool
fn eq(&self, other: &RECIPIENT_A) -> bool
impl Copy for RECIPIENT_A
impl StructuralPartialEq for RECIPIENT_A
Auto Trait Implementations
impl RefUnwindSafe for RECIPIENT_A
impl Send for RECIPIENT_A
impl Sync for RECIPIENT_A
impl Unpin for RECIPIENT_A
impl UnwindSafe for RECIPIENT_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more