#[repr(u8)]pub enum STOP_BITS_A {
ZERO_P_FIVE = 0,
ONE = 1,
ONE_P_FIVE = 2,
TWO = 3,
}
Expand description
Number of stop bits
Value on reset: 1
Variants§
ZERO_P_FIVE = 0
0: 0.5 stop bits
ONE = 1
1: 1 stop bit
ONE_P_FIVE = 2
2: 1.5 stop bits
TWO = 3
3: 2 stop bits
Trait Implementations§
Source§impl Clone for STOP_BITS_A
impl Clone for STOP_BITS_A
Source§fn clone(&self) -> STOP_BITS_A
fn clone(&self) -> STOP_BITS_A
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for STOP_BITS_A
impl Debug for STOP_BITS_A
Source§impl From<STOP_BITS_A> for u8
impl From<STOP_BITS_A> for u8
Source§fn from(variant: STOP_BITS_A) -> Self
fn from(variant: STOP_BITS_A) -> Self
Converts to this type from the input type.
Source§impl PartialEq for STOP_BITS_A
impl PartialEq for STOP_BITS_A
impl Copy for STOP_BITS_A
impl Eq for STOP_BITS_A
impl StructuralPartialEq for STOP_BITS_A
Auto Trait Implementations§
impl Freeze for STOP_BITS_A
impl RefUnwindSafe for STOP_BITS_A
impl Send for STOP_BITS_A
impl Sync for STOP_BITS_A
impl Unpin for STOP_BITS_A
impl UnwindSafe for STOP_BITS_A
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