Struct Macvtr
#[repr(transparent)]pub struct Macvtr(pub u32);
Expand description
VLAN tag register
Tuple Fields§
§0: u32
Implementations§
§impl Macvtr
impl Macvtr
pub fn set_ersvlm(&mut self, val: bool)
pub fn set_ersvlm(&mut self, val: bool)
Enable Receive S-VLAN Match
pub fn set_dovltc(&mut self, val: bool)
pub fn set_dovltc(&mut self, val: bool)
Disable VLAN Type Check
pub fn set_evlrxs(&mut self, val: bool)
pub fn set_evlrxs(&mut self, val: bool)
Enable VLAN Tag in Rx status
pub fn set_erivlt(&mut self, val: bool)
pub fn set_erivlt(&mut self, val: bool)
Enable Inner VLAN Tag
pub fn set_eivlrxs(&mut self, val: bool)
pub fn set_eivlrxs(&mut self, val: bool)
Enable Inner VLAN Tag in Rx Status
Trait Implementations§
impl Copy for Macvtr
impl Eq for Macvtr
impl StructuralPartialEq for Macvtr
Auto Trait Implementations§
impl Freeze for Macvtr
impl RefUnwindSafe for Macvtr
impl Send for Macvtr
impl Sync for Macvtr
impl Unpin for Macvtr
impl UnwindSafe for Macvtr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)