pub enum CharSize {
Bits5,
Bits6,
Bits7,
Bits8,
}Expand description
The number of bits per character for a serial port.
Variants§
Bits5
Characters of 5 bits.
Bits6
Characters of 6 bits.
Bits7
Characters of 7 bits.
Bits8
Characters of 8 bits.
Trait Implementations§
source§impl Ord for CharSize
impl Ord for CharSize
source§impl PartialEq for CharSize
impl PartialEq for CharSize
source§impl PartialOrd for CharSize
impl PartialOrd for CharSize
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for CharSize
impl Eq for CharSize
impl StructuralEq for CharSize
impl StructuralPartialEq for CharSize
Auto Trait Implementations§
impl RefUnwindSafe for CharSize
impl Send for CharSize
impl Sync for CharSize
impl Unpin for CharSize
impl UnwindSafe for CharSize
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