Enum nrf52840_hal::target::power::ram::power::S1RETENTIONR
source · pub enum S1RETENTIONR {
OFF,
ON,
}
Expand description
Possible values of the field S1RETENTION
Variants
OFF
Off
ON
On
Implementations
sourceimpl S1RETENTIONR
impl S1RETENTIONR
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 Clone for S1RETENTIONR
impl Clone for S1RETENTIONR
sourcefn clone(&self) -> S1RETENTIONR
fn clone(&self) -> S1RETENTIONR
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 S1RETENTIONR
impl Debug for S1RETENTIONR
sourceimpl PartialEq<S1RETENTIONR> for S1RETENTIONR
impl PartialEq<S1RETENTIONR> for S1RETENTIONR
sourcefn eq(&self, other: &S1RETENTIONR) -> bool
fn eq(&self, other: &S1RETENTIONR) -> bool
impl Copy for S1RETENTIONR
impl StructuralPartialEq for S1RETENTIONR
Auto Trait Implementations
impl RefUnwindSafe for S1RETENTIONR
impl Send for S1RETENTIONR
impl Sync for S1RETENTIONR
impl Unpin for S1RETENTIONR
impl UnwindSafe for S1RETENTIONR
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