Enum atsame70n21b::gmac::gmac_st2cw::st2cw1::OFFSSTRTSELECT_A
source · [−]#[repr(u8)]
pub enum OFFSSTRTSELECT_A {
FRAMESTART,
ETHERTYPE,
IP,
TCP_UDP,
}
Expand description
Ethernet Frame Offset Start
Value on reset: 0
Variants
FRAMESTART
0: Offset from the start of the frame
ETHERTYPE
1: Offset from the byte after the EtherType field
IP
2: Offset from the byte after the IP header field
TCP_UDP
3: Offset from the byte after the TCP/UDP header field
Trait Implementations
sourceimpl Clone for OFFSSTRTSELECT_A
impl Clone for OFFSSTRTSELECT_A
sourcefn clone(&self) -> OFFSSTRTSELECT_A
fn clone(&self) -> OFFSSTRTSELECT_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for OFFSSTRTSELECT_A
impl Debug for OFFSSTRTSELECT_A
sourceimpl From<OFFSSTRTSELECT_A> for u8
impl From<OFFSSTRTSELECT_A> for u8
sourcefn from(variant: OFFSSTRTSELECT_A) -> Self
fn from(variant: OFFSSTRTSELECT_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<OFFSSTRTSELECT_A> for OFFSSTRTSELECT_A
impl PartialEq<OFFSSTRTSELECT_A> for OFFSSTRTSELECT_A
sourcefn eq(&self, other: &OFFSSTRTSELECT_A) -> bool
fn eq(&self, other: &OFFSSTRTSELECT_A) -> bool
impl Copy for OFFSSTRTSELECT_A
impl StructuralPartialEq for OFFSSTRTSELECT_A
Auto Trait Implementations
impl RefUnwindSafe for OFFSSTRTSELECT_A
impl Send for OFFSSTRTSELECT_A
impl Sync for OFFSSTRTSELECT_A
impl Unpin for OFFSSTRTSELECT_A
impl UnwindSafe for OFFSSTRTSELECT_A
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