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