Enum atsamv71q20::gmac::gmac_st2cw120::OFFSSTRT_A
source · [−]#[repr(u8)]
pub enum OFFSSTRT_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 OFFSSTRT_A
impl Clone for OFFSSTRT_A
sourcefn clone(&self) -> OFFSSTRT_A
fn clone(&self) -> OFFSSTRT_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 more
sourceimpl Debug for OFFSSTRT_A
impl Debug for OFFSSTRT_A
sourceimpl From<OFFSSTRT_A> for u8
impl From<OFFSSTRT_A> for u8
sourcefn from(variant: OFFSSTRT_A) -> Self
fn from(variant: OFFSSTRT_A) -> Self
Performs the conversion.
sourceimpl PartialEq<OFFSSTRT_A> for OFFSSTRT_A
impl PartialEq<OFFSSTRT_A> for OFFSSTRT_A
impl Copy for OFFSSTRT_A
impl StructuralPartialEq for OFFSSTRT_A
Auto Trait Implementations
impl RefUnwindSafe for OFFSSTRT_A
impl Send for OFFSSTRT_A
impl Sync for OFFSSTRT_A
impl Unpin for OFFSSTRT_A
impl UnwindSafe for OFFSSTRT_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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