Enum cp211x_uart::StopBits
[−]
[src]
pub enum StopBits { Short, Long, }
The number of stop bits in UART configuration.
Variants
Short
1 stop bit.
Long
5 data bits: 1.5 stop bits, 6-8 data bits: 2 stop bits.
Trait Implementations
impl Clone for StopBits
[src]
fn clone(&self) -> StopBits
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for StopBits
[src]
impl PartialEq for StopBits
[src]
fn eq(&self, __arg_0: &StopBits) -> bool
[src]
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[src]
This method tests for !=
.