Enum nrf52840_hal::target::qspi::ifconfig0::DPMENABLER
source · pub enum DPMENABLER {
DISABLE,
ENABLE,
}
Expand description
Possible values of the field DPMENABLE
Variants
DISABLE
Disable DPM feature.
ENABLE
Enable DPM feature.
Implementations
sourceimpl DPMENABLER
impl DPMENABLER
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_disable(&self) -> bool
pub fn is_disable(&self) -> bool
Checks if the value of the field is DISABLE
Trait Implementations
sourceimpl Clone for DPMENABLER
impl Clone for DPMENABLER
sourcefn clone(&self) -> DPMENABLER
fn clone(&self) -> DPMENABLER
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 DPMENABLER
impl Debug for DPMENABLER
sourceimpl PartialEq<DPMENABLER> for DPMENABLER
impl PartialEq<DPMENABLER> for DPMENABLER
sourcefn eq(&self, other: &DPMENABLER) -> bool
fn eq(&self, other: &DPMENABLER) -> bool
impl Copy for DPMENABLER
impl StructuralPartialEq for DPMENABLER
Auto Trait Implementations
impl RefUnwindSafe for DPMENABLER
impl Send for DPMENABLER
impl Sync for DPMENABLER
impl Unpin for DPMENABLER
impl UnwindSafe for DPMENABLER
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