#[repr(transparent)]pub struct MacHwFeature0(pub u32);Expand description
Hardware Features 0
Tuple Fields§
§0: u32Implementations§
Source§impl MacHwFeature0
impl MacHwFeature0
Sourcepub const fn set_miisel(&mut self, val: bool)
pub const fn set_miisel(&mut self, val: bool)
10 or 100 Mbps Support
Sourcepub const fn set_gmiisel(&mut self, val: bool)
pub const fn set_gmiisel(&mut self, val: bool)
1000 Mbps Support
Sourcepub const fn set_pcssel(&mut self, val: bool)
pub const fn set_pcssel(&mut self, val: bool)
PCS Registers (TBI, SGMII, or RTBI PHY interface)
Sourcepub const fn set_vlhash(&mut self, val: bool)
pub const fn set_vlhash(&mut self, val: bool)
VLAN Hash Filter Selected
Sourcepub const fn set_smasel(&mut self, val: bool)
pub const fn set_smasel(&mut self, val: bool)
SMA (MDIO) Interface
Sourcepub const fn set_rwksel(&mut self, val: bool)
pub const fn set_rwksel(&mut self, val: bool)
PMT Remote Wake-up Packet Enable
Sourcepub const fn set_mgksel(&mut self, val: bool)
pub const fn set_mgksel(&mut self, val: bool)
PMT Magic Packet Enable
Sourcepub const fn set_mmcsel(&mut self, val: bool)
pub const fn set_mmcsel(&mut self, val: bool)
RMON Module Enable
Sourcepub const fn set_arpoffsel(&mut self, val: bool)
pub const fn set_arpoffsel(&mut self, val: bool)
ARP Offload Enabled
Sourcepub const fn set_eeesel(&mut self, val: bool)
pub const fn set_eeesel(&mut self, val: bool)
Energy Efficient Ethernet Enabled
Sourcepub const fn set_txcoesel(&mut self, val: bool)
pub const fn set_txcoesel(&mut self, val: bool)
Transmit Checksum Offload Enabled
Sourcepub const fn set_rxcoesel(&mut self, val: bool)
pub const fn set_rxcoesel(&mut self, val: bool)
Receive Checksum Offload Enabled
Sourcepub const fn addmacadrsel(&self) -> u8
pub const fn addmacadrsel(&self) -> u8
MAC Addresses 1-31 Selected
Sourcepub const fn set_addmacadrsel(&mut self, val: u8)
pub const fn set_addmacadrsel(&mut self, val: u8)
MAC Addresses 1-31 Selected
Sourcepub const fn macadr32sel(&self) -> bool
pub const fn macadr32sel(&self) -> bool
MAC Addresses 32-63 Selected
Sourcepub const fn set_macadr32sel(&mut self, val: bool)
pub const fn set_macadr32sel(&mut self, val: bool)
MAC Addresses 32-63 Selected
Sourcepub const fn macadr64sel(&self) -> bool
pub const fn macadr64sel(&self) -> bool
MAC Addresses 64-127 Selected
Sourcepub const fn set_macadr64sel(&mut self, val: bool)
pub const fn set_macadr64sel(&mut self, val: bool)
MAC Addresses 64-127 Selected
Sourcepub const fn set_tsstssel(&mut self, val: Tsstssel)
pub const fn set_tsstssel(&mut self, val: Tsstssel)
Timestamp System Time Source
Sourcepub const fn set_savlanins(&mut self, val: bool)
pub const fn set_savlanins(&mut self, val: bool)
Source Address or VLAN Insertion Enable
Sourcepub const fn set_actphysel(&mut self, val: Actphysel)
pub const fn set_actphysel(&mut self, val: Actphysel)
Active PHY Selected
Trait Implementations§
Source§impl Clone for MacHwFeature0
impl Clone for MacHwFeature0
Source§fn clone(&self) -> MacHwFeature0
fn clone(&self) -> MacHwFeature0
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 MacHwFeature0
impl Debug for MacHwFeature0
Source§impl Default for MacHwFeature0
impl Default for MacHwFeature0
Source§fn default() -> MacHwFeature0
fn default() -> MacHwFeature0
Returns the “default value” for a type. Read more
Source§impl PartialEq for MacHwFeature0
impl PartialEq for MacHwFeature0
impl Copy for MacHwFeature0
impl Eq for MacHwFeature0
impl StructuralPartialEq for MacHwFeature0
Auto Trait Implementations§
impl Freeze for MacHwFeature0
impl RefUnwindSafe for MacHwFeature0
impl Send for MacHwFeature0
impl Sync for MacHwFeature0
impl Unpin for MacHwFeature0
impl UnwindSafe for MacHwFeature0
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