#[repr(u8)]pub enum Enet2TxClkDir {
ENET2_TX_CLK_DIR_0 = 0,
ENET2_TX_CLK_DIR_1 = 1,
}Variants§
ENET2_TX_CLK_DIR_0 = 0
ENET2_TX_CLK output driver is disabled
ENET2_TX_CLK_DIR_1 = 1
ENET2_TX_CLK output driver is enabled
Implementations§
Source§impl Enet2TxClkDir
impl Enet2TxClkDir
Trait Implementations§
Source§impl Clone for Enet2TxClkDir
impl Clone for Enet2TxClkDir
Source§fn clone(&self) -> Enet2TxClkDir
fn clone(&self) -> Enet2TxClkDir
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 Enet2TxClkDir
impl Debug for Enet2TxClkDir
Source§impl From<Enet2TxClkDir> for u8
impl From<Enet2TxClkDir> for u8
Source§fn from(val: Enet2TxClkDir) -> u8
fn from(val: Enet2TxClkDir) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Enet2TxClkDir
impl From<u8> for Enet2TxClkDir
Source§fn from(val: u8) -> Enet2TxClkDir
fn from(val: u8) -> Enet2TxClkDir
Converts to this type from the input type.
Source§impl Ord for Enet2TxClkDir
impl Ord for Enet2TxClkDir
Source§fn cmp(&self, other: &Enet2TxClkDir) -> Ordering
fn cmp(&self, other: &Enet2TxClkDir) -> 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 Enet2TxClkDir
impl PartialEq for Enet2TxClkDir
Source§impl PartialOrd for Enet2TxClkDir
impl PartialOrd for Enet2TxClkDir
impl Copy for Enet2TxClkDir
impl Eq for Enet2TxClkDir
impl StructuralPartialEq for Enet2TxClkDir
Auto Trait Implementations§
impl Freeze for Enet2TxClkDir
impl RefUnwindSafe for Enet2TxClkDir
impl Send for Enet2TxClkDir
impl Sync for Enet2TxClkDir
impl Unpin for Enet2TxClkDir
impl UnwindSafe for Enet2TxClkDir
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