Enum stm32f429i_disc::ethernet_mac::macvlantr::VLANTCR
pub enum VLANTCR {
VLANTC16,
VLANTC12,
}
Expand description
Possible values of the field VLANTC
Variants
VLANTC16
Full 16 bit VLAN identifiers are used for comparison and filtering
VLANTC12
12 bit VLAN identifies are used for comparison and filtering
Implementations
impl VLANTCR
impl VLANTCR
pub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
pub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
pub fn is_vlantc16(&self) -> bool
pub fn is_vlantc16(&self) -> bool
Checks if the value of the field is VLANTC16
pub fn is_vlantc12(&self) -> bool
pub fn is_vlantc12(&self) -> bool
Checks if the value of the field is VLANTC12
Trait Implementations
impl Copy for VLANTCR
impl StructuralPartialEq for VLANTCR
Auto Trait Implementations
impl RefUnwindSafe for VLANTCR
impl Send for VLANTCR
impl Sync for VLANTCR
impl Unpin for VLANTCR
impl UnwindSafe for VLANTCR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more