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
§impl PartialOrd for PriorityRxOverTx
impl PartialOrd for PriorityRxOverTx
impl Copy for PriorityRxOverTx
impl Eq for PriorityRxOverTx
impl StructuralPartialEq for PriorityRxOverTx
Auto Trait Implementations§
impl Freeze for PriorityRxOverTx
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
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
)