#[repr(transparent)]pub struct MacVlanTag(pub u32);Expand description
VLAN Tag
Tuple Fields§
§0: u32Implementations§
Source§impl MacVlanTag
impl MacVlanTag
Sourcepub const fn set_ersvlm(&mut self, val: bool)
pub const fn set_ersvlm(&mut self, val: bool)
Enable Receive S-VLAN Match
Sourcepub const fn set_dovltc(&mut self, val: Dovltc)
pub const fn set_dovltc(&mut self, val: Dovltc)
Disable VLAN Type Check
Sourcepub const fn set_evlrxs(&mut self, val: bool)
pub const fn set_evlrxs(&mut self, val: bool)
Enable VLAN Tag in Rx status
Sourcepub const fn set_erivlt(&mut self, val: bool)
pub const fn set_erivlt(&mut self, val: bool)
Enable Inner VLAN Tag
Sourcepub const fn set_eivlrxs(&mut self, val: bool)
pub const fn set_eivlrxs(&mut self, val: bool)
Enable Inner VLAN Tag in Rx Status
Trait Implementations§
Source§impl Clone for MacVlanTag
impl Clone for MacVlanTag
Source§fn clone(&self) -> MacVlanTag
fn clone(&self) -> MacVlanTag
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 MacVlanTag
impl Debug for MacVlanTag
Source§impl Default for MacVlanTag
impl Default for MacVlanTag
Source§fn default() -> MacVlanTag
fn default() -> MacVlanTag
Returns the “default value” for a type. Read more
Source§impl PartialEq for MacVlanTag
impl PartialEq for MacVlanTag
impl Copy for MacVlanTag
impl Eq for MacVlanTag
impl StructuralPartialEq for MacVlanTag
Auto Trait Implementations§
impl Freeze for MacVlanTag
impl RefUnwindSafe for MacVlanTag
impl Send for MacVlanTag
impl Sync for MacVlanTag
impl Unpin for MacVlanTag
impl UnwindSafe for MacVlanTag
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