#[repr(transparent)]pub struct EnetPhyIntfSel(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl EnetPhyIntfSel
impl EnetPhyIntfSel
Sourcepub const fn phy_sel(&self) -> bool
pub const fn phy_sel(&self) -> bool
Selects the PHY interface. Raw bit values: false (0) = Mii: Selects MII PHY Interface.; true (1) = Rmii: Selects RMII PHY Interface.
Sourcepub const fn set_phy_sel(&mut self, val: bool)
pub const fn set_phy_sel(&mut self, val: bool)
Selects the PHY interface. Raw bit values: false (0) = Mii: Selects MII PHY Interface.; true (1) = Rmii: Selects RMII PHY Interface.
Trait Implementations§
Source§impl Clone for EnetPhyIntfSel
impl Clone for EnetPhyIntfSel
Source§fn clone(&self) -> EnetPhyIntfSel
fn clone(&self) -> EnetPhyIntfSel
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 Default for EnetPhyIntfSel
impl Default for EnetPhyIntfSel
Source§fn default() -> EnetPhyIntfSel
fn default() -> EnetPhyIntfSel
Returns the “default value” for a type. Read more
Source§impl PartialEq for EnetPhyIntfSel
impl PartialEq for EnetPhyIntfSel
impl Copy for EnetPhyIntfSel
impl Eq for EnetPhyIntfSel
impl StructuralPartialEq for EnetPhyIntfSel
Auto Trait Implementations§
impl Freeze for EnetPhyIntfSel
impl RefUnwindSafe for EnetPhyIntfSel
impl Send for EnetPhyIntfSel
impl Sync for EnetPhyIntfSel
impl Unpin for EnetPhyIntfSel
impl UnwindSafe for EnetPhyIntfSel
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