Enum nrf52840_hal::target::nfct::txd::frameconfig::DISCARDMODER
source · pub enum DISCARDMODER {
DISCARDEND,
DISCARDSTART,
}
Expand description
Possible values of the field DISCARDMODE
Variants
DISCARDEND
Unused bits are discarded at end of frame (EoF)
DISCARDSTART
Unused bits are discarded at start of frame (SoF)
Implementations
sourceimpl DISCARDMODER
impl DISCARDMODER
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)
sourcepub fn is_discard_end(&self) -> bool
pub fn is_discard_end(&self) -> bool
Checks if the value of the field is DISCARDEND
sourcepub fn is_discard_start(&self) -> bool
pub fn is_discard_start(&self) -> bool
Checks if the value of the field is DISCARDSTART
Trait Implementations
sourceimpl Clone for DISCARDMODER
impl Clone for DISCARDMODER
sourcefn clone(&self) -> DISCARDMODER
fn clone(&self) -> DISCARDMODER
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 DISCARDMODER
impl Debug for DISCARDMODER
sourceimpl PartialEq<DISCARDMODER> for DISCARDMODER
impl PartialEq<DISCARDMODER> for DISCARDMODER
sourcefn eq(&self, other: &DISCARDMODER) -> bool
fn eq(&self, other: &DISCARDMODER) -> bool
impl Copy for DISCARDMODER
impl StructuralPartialEq for DISCARDMODER
Auto Trait Implementations
impl RefUnwindSafe for DISCARDMODER
impl Send for DISCARDMODER
impl Sync for DISCARDMODER
impl Unpin for DISCARDMODER
impl UnwindSafe for DISCARDMODER
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