#[repr(transparent)]pub struct MacHwFeature2(pub u32);Expand description
Hardware Features 2
Tuple Fields§
§0: u32Implementations§
Source§impl MacHwFeature2
impl MacHwFeature2
Sourcepub const fn set_rxqcnt(&mut self, val: Rxqcnt)
pub const fn set_rxqcnt(&mut self, val: Rxqcnt)
Number of MTL Receive Queues
Sourcepub const fn set_txqcnt(&mut self, val: Txqcnt)
pub const fn set_txqcnt(&mut self, val: Txqcnt)
Number of MTL Transmit Queues
Sourcepub const fn set_rxchcnt(&mut self, val: Rxchcnt)
pub const fn set_rxchcnt(&mut self, val: Rxchcnt)
Number of DMA Receive Channels
Sourcepub const fn set_rdcsz(&mut self, val: u8)
pub const fn set_rdcsz(&mut self, val: u8)
Rx DMA Descriptor Cache Size in terms of 16 bytes descriptors:
Sourcepub const fn set_txchcnt(&mut self, val: Txchcnt)
pub const fn set_txchcnt(&mut self, val: Txchcnt)
Number of DMA Transmit Channels
Sourcepub const fn set_tdcsz(&mut self, val: u8)
pub const fn set_tdcsz(&mut self, val: u8)
Tx DMA Descriptor Cache Size in terms of 16 bytes descriptors:
Sourcepub const fn set_ppsoutnum(&mut self, val: Ppsoutnum)
pub const fn set_ppsoutnum(&mut self, val: Ppsoutnum)
Number of PPS Outputs
Sourcepub const fn auxsnapnum(&self) -> Auxsnapnum
pub const fn auxsnapnum(&self) -> Auxsnapnum
Number of Auxiliary Snapshot Inputs
Sourcepub const fn set_auxsnapnum(&mut self, val: Auxsnapnum)
pub const fn set_auxsnapnum(&mut self, val: Auxsnapnum)
Number of Auxiliary Snapshot Inputs
Trait Implementations§
Source§impl Clone for MacHwFeature2
impl Clone for MacHwFeature2
Source§fn clone(&self) -> MacHwFeature2
fn clone(&self) -> MacHwFeature2
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 MacHwFeature2
impl Debug for MacHwFeature2
Source§impl Default for MacHwFeature2
impl Default for MacHwFeature2
Source§fn default() -> MacHwFeature2
fn default() -> MacHwFeature2
Returns the “default value” for a type. Read more
Source§impl PartialEq for MacHwFeature2
impl PartialEq for MacHwFeature2
impl Copy for MacHwFeature2
impl Eq for MacHwFeature2
impl StructuralPartialEq for MacHwFeature2
Auto Trait Implementations§
impl Freeze for MacHwFeature2
impl RefUnwindSafe for MacHwFeature2
impl Send for MacHwFeature2
impl Sync for MacHwFeature2
impl Unpin for MacHwFeature2
impl UnwindSafe for MacHwFeature2
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