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