#[repr(u8)]pub enum Stb {
Stop1 = 0,
Stop0p5 = 1,
Stop2 = 2,
Stop1p5 = 3,
}
Expand description
STOP bits length
Value on reset: 0
Variants§
Stop1 = 0
0: 1 stop bit
Stop0p5 = 1
1: 0.5 stop bit
Stop2 = 2
2: 2 stop bit
Stop1p5 = 3
3: 1.5 stop bit
Trait Implementations§
impl Copy for Stb
impl Eq for Stb
impl StructuralPartialEq for Stb
Auto Trait Implementations§
impl Freeze for Stb
impl RefUnwindSafe for Stb
impl Send for Stb
impl Sync for Stb
impl Unpin for Stb
impl UnwindSafe for Stb
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more