#[repr(transparent)]pub struct MacConfiguration(pub u32);Expand description
MAC Configuration
Tuple Fields§
§0: u32Implementations§
Source§impl MacConfiguration
impl MacConfiguration
Sourcepub const fn set_prelen(&mut self, val: Prelen)
pub const fn set_prelen(&mut self, val: Prelen)
Preamble Length for Transmit packets
Sourcepub const fn ecrsfd(&self) -> bool
pub const fn ecrsfd(&self) -> bool
Enable Carrier Sense Before Transmission in Full-Duplex Mode
Sourcepub const fn set_ecrsfd(&mut self, val: bool)
pub const fn set_ecrsfd(&mut self, val: bool)
Enable Carrier Sense Before Transmission in Full-Duplex Mode
Sourcepub const fn set_gpslce(&mut self, val: bool)
pub const fn set_gpslce(&mut self, val: bool)
Giant Packet Size Limit Control Enable
Trait Implementations§
Source§impl Clone for MacConfiguration
impl Clone for MacConfiguration
Source§fn clone(&self) -> MacConfiguration
fn clone(&self) -> MacConfiguration
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 MacConfiguration
impl Debug for MacConfiguration
Source§impl Default for MacConfiguration
impl Default for MacConfiguration
Source§fn default() -> MacConfiguration
fn default() -> MacConfiguration
Returns the “default value” for a type. Read more
Source§impl PartialEq for MacConfiguration
impl PartialEq for MacConfiguration
impl Copy for MacConfiguration
impl Eq for MacConfiguration
impl StructuralPartialEq for MacConfiguration
Auto Trait Implementations§
impl Freeze for MacConfiguration
impl RefUnwindSafe for MacConfiguration
impl Send for MacConfiguration
impl Sync for MacConfiguration
impl Unpin for MacConfiguration
impl UnwindSafe for MacConfiguration
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