#[repr(u8)]pub enum StopBits {
Bits1 = 0,
Bits2 = 2,
}
Expand description
Stop bits.
This is used by the set_data_characteristics
method.
Variants§
Trait Implementations§
source§impl Ord for StopBits
impl Ord for StopBits
source§impl PartialEq for StopBits
impl PartialEq for StopBits
source§impl PartialOrd for StopBits
impl PartialOrd for StopBits
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 StopBits
impl Eq 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§
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