#[repr(transparent)]pub struct MacInterruptEnable(pub u32);Expand description
Interrupt Enable
Tuple Fields§
§0: u32Implementations§
Source§impl MacInterruptEnable
impl MacInterruptEnable
Sourcepub const fn set_txstsie(&mut self, val: bool)
pub const fn set_txstsie(&mut self, val: bool)
Transmit Status Interrupt Enable
Sourcepub const fn set_rxstsie(&mut self, val: bool)
pub const fn set_rxstsie(&mut self, val: bool)
Receive Status Interrupt Enable
Sourcepub const fn set_mdioie(&mut self, val: bool)
pub const fn set_mdioie(&mut self, val: bool)
MDIO Interrupt Enable
Trait Implementations§
Source§impl Clone for MacInterruptEnable
impl Clone for MacInterruptEnable
Source§fn clone(&self) -> MacInterruptEnable
fn clone(&self) -> MacInterruptEnable
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 MacInterruptEnable
impl Debug for MacInterruptEnable
Source§impl Default for MacInterruptEnable
impl Default for MacInterruptEnable
Source§fn default() -> MacInterruptEnable
fn default() -> MacInterruptEnable
Returns the “default value” for a type. Read more
Source§impl PartialEq for MacInterruptEnable
impl PartialEq for MacInterruptEnable
impl Copy for MacInterruptEnable
impl Eq for MacInterruptEnable
impl StructuralPartialEq for MacInterruptEnable
Auto Trait Implementations§
impl Freeze for MacInterruptEnable
impl RefUnwindSafe for MacInterruptEnable
impl Send for MacInterruptEnable
impl Sync for MacInterruptEnable
impl Unpin for MacInterruptEnable
impl UnwindSafe for MacInterruptEnable
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