#[repr(transparent)]pub struct MacInnerVlanIncl(pub u32);Expand description
MAC Inner VLAN Tag Inclusion or Replacement
Tuple Fields§
§0: u32Implementations§
Source§impl MacInnerVlanIncl
impl MacInnerVlanIncl
Sourcepub const fn vlc(&self) -> MacInnerVlanInclVlc
pub const fn vlc(&self) -> MacInnerVlanInclVlc
VLAN Tag Control in Transmit Packets
Sourcepub const fn set_vlc(&mut self, val: MacInnerVlanInclVlc)
pub const fn set_vlc(&mut self, val: MacInnerVlanInclVlc)
VLAN Tag Control in Transmit Packets
Sourcepub const fn csvl(&self) -> MacInnerVlanInclCsvl
pub const fn csvl(&self) -> MacInnerVlanInclCsvl
C-VLAN or S-VLAN
Sourcepub const fn set_csvl(&mut self, val: MacInnerVlanInclCsvl)
pub const fn set_csvl(&mut self, val: MacInnerVlanInclCsvl)
C-VLAN or S-VLAN
Trait Implementations§
Source§impl Clone for MacInnerVlanIncl
impl Clone for MacInnerVlanIncl
Source§fn clone(&self) -> MacInnerVlanIncl
fn clone(&self) -> MacInnerVlanIncl
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 MacInnerVlanIncl
impl Debug for MacInnerVlanIncl
Source§impl Default for MacInnerVlanIncl
impl Default for MacInnerVlanIncl
Source§fn default() -> MacInnerVlanIncl
fn default() -> MacInnerVlanIncl
Returns the “default value” for a type. Read more
Source§impl PartialEq for MacInnerVlanIncl
impl PartialEq for MacInnerVlanIncl
impl Copy for MacInnerVlanIncl
impl Eq for MacInnerVlanIncl
impl StructuralPartialEq for MacInnerVlanIncl
Auto Trait Implementations§
impl Freeze for MacInnerVlanIncl
impl RefUnwindSafe for MacInnerVlanIncl
impl Send for MacInnerVlanIncl
impl Sync for MacInnerVlanIncl
impl Unpin for MacInnerVlanIncl
impl UnwindSafe for MacInnerVlanIncl
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