#[repr(transparent)]pub struct MacHwFeature22(pub u32);Expand description
Hardware Features 2.
Tuple Fields§
§0: u32Implementations§
Source§impl MacHwFeature22
impl MacHwFeature22
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 rdcsz(&self) -> u8
pub const fn rdcsz(&self) -> u8
Rx DMA Descriptor Cache Size in terms of 16 bytes descriptors:.
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 tdcsz(&self) -> u8
pub const fn tdcsz(&self) -> u8
Tx DMA Descriptor Cache Size in terms of 16 bytes descriptors:.
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 MacHwFeature22
impl Clone for MacHwFeature22
Source§fn clone(&self) -> MacHwFeature22
fn clone(&self) -> MacHwFeature22
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 MacHwFeature22
impl Default for MacHwFeature22
Source§fn default() -> MacHwFeature22
fn default() -> MacHwFeature22
Returns the “default value” for a type. Read more
Source§impl PartialEq for MacHwFeature22
impl PartialEq for MacHwFeature22
impl Copy for MacHwFeature22
impl Eq for MacHwFeature22
impl StructuralPartialEq for MacHwFeature22
Auto Trait Implementations§
impl Freeze for MacHwFeature22
impl RefUnwindSafe for MacHwFeature22
impl Send for MacHwFeature22
impl Sync for MacHwFeature22
impl Unpin for MacHwFeature22
impl UnwindSafe for MacHwFeature22
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