pub enum StopBits {
STOP1,
STOP0P5,
STOP2,
STOP1P5,
}
Expand description
Stop Bit configuration parameter for serial.
Wrapper around STOP_A
Variants
STOP1
1 stop bit
STOP0P5
0.5 stop bits
STOP2
2 stop bits
STOP1P5
1.5 stop bits
Trait Implementations
impl Copy for StopBits
impl StructuralPartialEq for StopBits
Auto Trait Implementations
impl RefUnwindSafe for StopBits
impl Send for StopBits
impl Sync for StopBits
impl Unpin for StopBits
impl UnwindSafe for StopBits
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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