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