Enum nrf52832_pac::nfct::fieldpresent::FIELDPRESENTR
source · pub enum FIELDPRESENTR {
NOFIELD,
FIELDPRESENT,
}
Expand description
Possible values of the field FIELDPRESENT
Variants§
Implementations§
source§impl 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§
source§impl Clone for FIELDPRESENTR
impl Clone for FIELDPRESENTR
source§fn clone(&self) -> FIELDPRESENTR
fn clone(&self) -> FIELDPRESENTR
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more