pub enum STOPR {
STOP1,
STOP0P5,
STOP2,
STOP1P5,
}
Expand description
Possible values of the field STOP
Variants
STOP1
1 stop bit
STOP0P5
0.5 stop bits
STOP2
2 stop bits
STOP1P5
1.5 stop bits
Implementations
impl STOPR
impl STOPR
pub fn is_stop0p5(&self) -> bool
pub fn is_stop0p5(&self) -> bool
Checks if the value of the field is STOP0P5
pub fn is_stop1p5(&self) -> bool
pub fn is_stop1p5(&self) -> bool
Checks if the value of the field is STOP1P5
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