pub enum STOPR {
BIT_1,
BIT_0_5,
BIT_2,
BIT_1_5,
}
Expand description
Possible values of the field STOP
Variants
BIT_1
1 stop bit
BIT_0_5
0.5 stop bit
BIT_2
2 stop bit
BIT_1_5
1.5 stop bit
Implementations
sourceimpl STOPR
impl STOPR
sourcepub fn is_bit_0_5(&self) -> bool
pub fn is_bit_0_5(&self) -> bool
Checks if the value of the field is BIT_0_5
sourcepub fn is_bit_1_5(&self) -> bool
pub fn is_bit_1_5(&self) -> bool
Checks if the value of the field is BIT_1_5
Trait Implementations
impl Copy for STOPR
impl StructuralPartialEq for STOPR
Auto Trait Implementations
impl RefUnwindSafe for STOPR
impl Send for STOPR
impl Sync for STOPR
impl Unpin for STOPR
impl UnwindSafe for STOPR
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