Enum stm32_metapac::eth::vals::Vlantc
#[repr(u8)]pub enum Vlantc {
VLANTC16 = 0,
VLANTC12 = 1,
}
Variants§
VLANTC16 = 0
Full 16 bit VLAN identifiers are used for comparison and filtering
VLANTC12 = 1
12 bit VLAN identifies are used for comparison and filtering
Implementations§
Trait Implementations§
§impl Ord for Vlantc
impl Ord for Vlantc
§impl PartialOrd for Vlantc
impl PartialOrd for Vlantc
§fn partial_cmp(&self, other: &Vlantc) -> Option<Ordering>
fn partial_cmp(&self, other: &Vlantc) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Vlantc
impl Eq for Vlantc
impl StructuralEq for Vlantc
impl StructuralPartialEq for Vlantc
Auto Trait Implementations§
impl RefUnwindSafe for Vlantc
impl Send for Vlantc
impl Sync for Vlantc
impl Unpin for Vlantc
impl UnwindSafe for Vlantc
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