Enum serial_core::StopBits
[−]
[src]
pub enum StopBits { Stop1, Stop2, }
Number of stop bits.
Stop bits are transmitted after every character.
Variants
Stop1
One stop bit.
Stop2
Two stop bits.
Trait Implementations
impl Debug for StopBits
[src]
impl Copy for StopBits
[src]
impl Clone for StopBits
[src]
fn clone(&self) -> StopBits
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for StopBits
[src]
fn eq(&self, __arg_0: &StopBits) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.