Struct stm32_metapac::eth::regs::Macvlantr
#[repr(transparent)]pub struct Macvlantr(pub u32);
Expand description
Ethernet MAC VLAN tag register
Tuple Fields§
§0: u32
Implementations§
§impl Macvlantr
impl Macvlantr
pub fn set_vlanti(&mut self, val: u16)
pub fn set_vlanti(&mut self, val: u16)
VLAN tag identifier (for receive frames)
pub fn set_vlantc(&mut self, val: Vlantc)
pub fn set_vlantc(&mut self, val: Vlantc)
12-bit VLAN tag comparison
Trait Implementations§
impl Copy for Macvlantr
impl Eq for Macvlantr
impl StructuralEq for Macvlantr
impl StructuralPartialEq for Macvlantr
Auto Trait Implementations§
impl RefUnwindSafe for Macvlantr
impl Send for Macvlantr
impl Sync for Macvlantr
impl Unpin for Macvlantr
impl UnwindSafe for Macvlantr
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