Enum mk20d7::usb0::otgicr::ONEMSECENR
source · pub enum ONEMSECENR {
_0,
_1,
}
Expand description
Possible values of the field ONEMSECEN
Variants§
Implementations§
source§impl ONEMSECENR
impl ONEMSECENR
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§
source§impl Clone for ONEMSECENR
impl Clone for ONEMSECENR
source§fn clone(&self) -> ONEMSECENR
fn clone(&self) -> ONEMSECENR
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ONEMSECENR
impl Debug for ONEMSECENR
source§impl PartialEq<ONEMSECENR> for ONEMSECENR
impl PartialEq<ONEMSECENR> for ONEMSECENR
source§fn eq(&self, other: &ONEMSECENR) -> bool
fn eq(&self, other: &ONEMSECENR) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.