Enum nrf52840_hal::target::nfct::sleepstate::SLEEPSTATER
source · pub enum SLEEPSTATER {
IDLE,
SLEEPA,
}
Expand description
Possible values of the field SLEEPSTATE
Variants
IDLE
State is IDLE.
SLEEPA
State is SLEEP_A.
Implementations
sourceimpl SLEEPSTATER
impl SLEEPSTATER
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_sleep_a(&self) -> bool
pub fn is_sleep_a(&self) -> bool
Checks if the value of the field is SLEEPA
Trait Implementations
sourceimpl Clone for SLEEPSTATER
impl Clone for SLEEPSTATER
sourcefn clone(&self) -> SLEEPSTATER
fn clone(&self) -> SLEEPSTATER
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 SLEEPSTATER
impl Debug for SLEEPSTATER
sourceimpl PartialEq<SLEEPSTATER> for SLEEPSTATER
impl PartialEq<SLEEPSTATER> for SLEEPSTATER
sourcefn eq(&self, other: &SLEEPSTATER) -> bool
fn eq(&self, other: &SLEEPSTATER) -> bool
impl Copy for SLEEPSTATER
impl StructuralPartialEq for SLEEPSTATER
Auto Trait Implementations
impl RefUnwindSafe for SLEEPSTATER
impl Send for SLEEPSTATER
impl Sync for SLEEPSTATER
impl Unpin for SLEEPSTATER
impl UnwindSafe for SLEEPSTATER
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