#[repr(transparent)]pub struct MacHwFeature1(pub u32);Expand description
Hardware Features 1
Tuple Fields§
§0: u32Implementations§
Source§impl MacHwFeature1
impl MacHwFeature1
Sourcepub const fn rxfifosize(&self) -> Rxfifosize
pub const fn rxfifosize(&self) -> Rxfifosize
MTL Receive FIFO Size
Sourcepub const fn set_rxfifosize(&mut self, val: Rxfifosize)
pub const fn set_rxfifosize(&mut self, val: Rxfifosize)
MTL Receive FIFO Size
Sourcepub const fn txfifosize(&self) -> Txfifosize
pub const fn txfifosize(&self) -> Txfifosize
MTL Transmit FIFO Size
Sourcepub const fn set_txfifosize(&mut self, val: Txfifosize)
pub const fn set_txfifosize(&mut self, val: Txfifosize)
MTL Transmit FIFO Size
Sourcepub const fn set_advthword(&mut self, val: bool)
pub const fn set_advthword(&mut self, val: bool)
IEEE 1588 High Word Register Enable
Sourcepub const fn set_addr64(&mut self, val: Addr64)
pub const fn set_addr64(&mut self, val: Addr64)
Address Width.
Sourcepub const fn set_dbgmema(&mut self, val: bool)
pub const fn set_dbgmema(&mut self, val: bool)
DMA Debug Registers Enable
Sourcepub const fn set_ravsel(&mut self, val: bool)
pub const fn set_ravsel(&mut self, val: bool)
Rx Side Only AV Feature Enable
Sourcepub const fn set_pouost(&mut self, val: bool)
pub const fn set_pouost(&mut self, val: bool)
One Step for PTP over UDP/IP Feature Enable
Sourcepub const fn set_hashtblsz(&mut self, val: Hashtblsz)
pub const fn set_hashtblsz(&mut self, val: Hashtblsz)
Hash Table Size
Sourcepub const fn set_l3l4fnum(&mut self, val: L3l4fnum)
pub const fn set_l3l4fnum(&mut self, val: L3l4fnum)
Total number of L3 or L4 Filters
Trait Implementations§
Source§impl Clone for MacHwFeature1
impl Clone for MacHwFeature1
Source§fn clone(&self) -> MacHwFeature1
fn clone(&self) -> MacHwFeature1
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 MacHwFeature1
impl Debug for MacHwFeature1
Source§impl Default for MacHwFeature1
impl Default for MacHwFeature1
Source§fn default() -> MacHwFeature1
fn default() -> MacHwFeature1
Returns the “default value” for a type. Read more
Source§impl PartialEq for MacHwFeature1
impl PartialEq for MacHwFeature1
impl Copy for MacHwFeature1
impl Eq for MacHwFeature1
impl StructuralPartialEq for MacHwFeature1
Auto Trait Implementations§
impl Freeze for MacHwFeature1
impl RefUnwindSafe for MacHwFeature1
impl Send for MacHwFeature1
impl Sync for MacHwFeature1
impl Unpin for MacHwFeature1
impl UnwindSafe for MacHwFeature1
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