Enum stm32_metapac::eth::vals::PriorityRxOverTx
#[repr(u8)]pub enum PriorityRxOverTx {
ONETOONE = 0,
TWOTOONE = 1,
THREETOONE = 2,
FOURTOONE = 3,
}
Variants§
ONETOONE = 0
RxDMA priority over TxDMA is 1:1
TWOTOONE = 1
RxDMA priority over TxDMA is 2:1
THREETOONE = 2
RxDMA priority over TxDMA is 3:1
FOURTOONE = 3
RxDMA priority over TxDMA is 4:1
Implementations§
§impl PriorityRxOverTx
impl PriorityRxOverTx
pub const fn from_bits(val: u8) -> PriorityRxOverTx
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for PriorityRxOverTx
impl Clone for PriorityRxOverTx
§fn clone(&self) -> PriorityRxOverTx
fn clone(&self) -> PriorityRxOverTx
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 more§impl From<PriorityRxOverTx> for u8
impl From<PriorityRxOverTx> for u8
§fn from(val: PriorityRxOverTx) -> u8
fn from(val: PriorityRxOverTx) -> u8
Converts to this type from the input type.
§impl From<u8> for PriorityRxOverTx
impl From<u8> for PriorityRxOverTx
§fn from(val: u8) -> PriorityRxOverTx
fn from(val: u8) -> PriorityRxOverTx
Converts to this type from the input type.
§impl Ord for PriorityRxOverTx
impl Ord for PriorityRxOverTx
§fn cmp(&self, other: &PriorityRxOverTx) -> Ordering
fn cmp(&self, other: &PriorityRxOverTx) -> 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
§impl PartialEq for PriorityRxOverTx
impl PartialEq for PriorityRxOverTx
§fn eq(&self, other: &PriorityRxOverTx) -> bool
fn eq(&self, other: &PriorityRxOverTx) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for PriorityRxOverTx
impl PartialOrd for PriorityRxOverTx
§fn partial_cmp(&self, other: &PriorityRxOverTx) -> Option<Ordering>
fn partial_cmp(&self, other: &PriorityRxOverTx) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for PriorityRxOverTx
impl Eq for PriorityRxOverTx
impl StructuralEq for PriorityRxOverTx
impl StructuralPartialEq for PriorityRxOverTx
Auto Trait Implementations§
impl RefUnwindSafe for PriorityRxOverTx
impl Send for PriorityRxOverTx
impl Sync for PriorityRxOverTx
impl Unpin for PriorityRxOverTx
impl UnwindSafe for PriorityRxOverTx
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