Enum cp211x_uart::Parity
[−]
[src]
pub enum Parity { None, Odd, Even, Mark, Space, }
The parity in UART configuration.
Variants
None
No parity.
Odd
Odd parity (sum of data bits is odd).
Even
Even parity (sum of data bits is even).
Mark
Mark parity (always 1).
Space
Space parity (always 0).
Trait Implementations
impl Clone for Parity
[src]
fn clone(&self) -> Parity
[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 Parity
[src]
impl PartialEq for Parity
[src]
fn eq(&self, __arg_0: &Parity) -> 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 !=
.