Struct atsamv71q20::gmac::gmac_st2cw19::OFFSSTRT_R
source · [−]pub struct OFFSSTRT_R(_);
Expand description
Field OFFSSTRT
reader - Ethernet Frame Offset Start
Implementations
sourceimpl OFFSSTRT_R
impl OFFSSTRT_R
sourcepub fn variant(&self) -> OFFSSTRT_A
pub fn variant(&self) -> OFFSSTRT_A
Get enumerated values variant
sourcepub fn is_framestart(&self) -> bool
pub fn is_framestart(&self) -> bool
Checks if the value of the field is FRAMESTART
sourcepub fn is_ethertype(&self) -> bool
pub fn is_ethertype(&self) -> bool
Checks if the value of the field is ETHERTYPE
sourcepub fn is_tcp_udp(&self) -> bool
pub fn is_tcp_udp(&self) -> bool
Checks if the value of the field is TCP_UDP
Methods from Deref<Target = FieldReader<u8, OFFSSTRT_A>>
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0).
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1).
Trait Implementations
sourceimpl Deref for OFFSSTRT_R
impl Deref for OFFSSTRT_R
type Target = FieldReader<u8, OFFSSTRT_A>
type Target = FieldReader<u8, OFFSSTRT_A>
The resulting type after dereferencing.
Auto Trait Implementations
impl RefUnwindSafe for OFFSSTRT_R
impl Send for OFFSSTRT_R
impl Sync for OFFSSTRT_R
impl Unpin for OFFSSTRT_R
impl UnwindSafe for OFFSSTRT_R
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