Enum nrf52840_hal::target::nfct::fieldpresent::FIELDPRESENTR
source · pub enum FIELDPRESENTR {
NOFIELD,
FIELDPRESENT,
}
Expand description
Possible values of the field FIELDPRESENT
Variants
NOFIELD
No valid field detected
FIELDPRESENT
Valid field detected
Implementations
sourceimpl FIELDPRESENTR
impl FIELDPRESENTR
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_no_field(&self) -> bool
pub fn is_no_field(&self) -> bool
Checks if the value of the field is NOFIELD
sourcepub fn is_field_present(&self) -> bool
pub fn is_field_present(&self) -> bool
Checks if the value of the field is FIELDPRESENT
Trait Implementations
sourceimpl Clone for FIELDPRESENTR
impl Clone for FIELDPRESENTR
sourcefn clone(&self) -> FIELDPRESENTR
fn clone(&self) -> FIELDPRESENTR
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 FIELDPRESENTR
impl Debug for FIELDPRESENTR
sourceimpl PartialEq<FIELDPRESENTR> for FIELDPRESENTR
impl PartialEq<FIELDPRESENTR> for FIELDPRESENTR
sourcefn eq(&self, other: &FIELDPRESENTR) -> bool
fn eq(&self, other: &FIELDPRESENTR) -> bool
impl Copy for FIELDPRESENTR
impl StructuralPartialEq for FIELDPRESENTR
Auto Trait Implementations
impl RefUnwindSafe for FIELDPRESENTR
impl Send for FIELDPRESENTR
impl Sync for FIELDPRESENTR
impl Unpin for FIELDPRESENTR
impl UnwindSafe for FIELDPRESENTR
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