Enum mk20d7::usb0::otgstat::LINESTATESTABLER
source · pub enum LINESTATESTABLER {
_0,
_1,
}
Expand description
Possible values of the field LINESTATESTABLE
Variants§
_0
The LINE_STAT_CHG bit is not yet stable.
_1
The LINE_STAT_CHG bit has been debounced and is stable.
Implementations§
source§impl LINESTATESTABLER
impl LINESTATESTABLER
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 LINESTATESTABLER
impl Clone for LINESTATESTABLER
source§fn clone(&self) -> LINESTATESTABLER
fn clone(&self) -> LINESTATESTABLER
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 LINESTATESTABLER
impl Debug for LINESTATESTABLER
source§impl PartialEq<LINESTATESTABLER> for LINESTATESTABLER
impl PartialEq<LINESTATESTABLER> for LINESTATESTABLER
source§fn eq(&self, other: &LINESTATESTABLER) -> bool
fn eq(&self, other: &LINESTATESTABLER) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.