pub enum M1R {
M0,
BIT_7,
}
Expand description
Possible values of the field M1
Variants
M0
Use M0 to set the data bits
BIT_7
1 start bit, 7 data bits, n stop bits
Implementations
sourceimpl M1R
impl M1R
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
impl Copy for M1R
impl StructuralPartialEq for M1R
Auto Trait Implementations
impl RefUnwindSafe for M1R
impl Send for M1R
impl Sync for M1R
impl Unpin for M1R
impl UnwindSafe for M1R
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