#[repr(u8)]pub enum P0cfgDirection {
DIR0 = 0,
DIR1 = 1,
DIR2 = 2,
DIR3 = 3,
}Variants§
DIR0 = 0
Endpoint or index-and-data: bidirectional (normal). Mailbox Single: unenforced. Mailbox Split or Mailbox Shared: bidirectional.
DIR1 = 1
Endpoint or index-and-data: ignore read. Mailbox Single: write only. Mailbox Split or Mailbox Shared: ignore read.
DIR2 = 2
Endpoint or index-and-data: ignore write. Mailbox Single: read only. Mailbox Split or Mailbox Shared: ignore write.
DIR3 = 3
Endpoint or index-and-data: Ignore both. Mailbox Single: ignore both. Mailbox Split or Mailbox Shared: ignore both.
Implementations§
Trait Implementations§
Source§impl Clone for P0cfgDirection
impl Clone for P0cfgDirection
Source§fn clone(&self) -> P0cfgDirection
fn clone(&self) -> P0cfgDirection
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 moreSource§impl Debug for P0cfgDirection
impl Debug for P0cfgDirection
Source§impl From<P0cfgDirection> for u8
impl From<P0cfgDirection> for u8
Source§fn from(val: P0cfgDirection) -> u8
fn from(val: P0cfgDirection) -> u8
Converts to this type from the input type.
Source§impl From<u8> for P0cfgDirection
impl From<u8> for P0cfgDirection
Source§fn from(val: u8) -> P0cfgDirection
fn from(val: u8) -> P0cfgDirection
Converts to this type from the input type.
Source§impl Ord for P0cfgDirection
impl Ord for P0cfgDirection
Source§fn cmp(&self, other: &P0cfgDirection) -> Ordering
fn cmp(&self, other: &P0cfgDirection) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for P0cfgDirection
impl PartialEq for P0cfgDirection
Source§impl PartialOrd for P0cfgDirection
impl PartialOrd for P0cfgDirection
impl Copy for P0cfgDirection
impl Eq for P0cfgDirection
impl StructuralPartialEq for P0cfgDirection
Auto Trait Implementations§
impl Freeze for P0cfgDirection
impl RefUnwindSafe for P0cfgDirection
impl Send for P0cfgDirection
impl Sync for P0cfgDirection
impl Unpin for P0cfgDirection
impl UnwindSafe for P0cfgDirection
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