Enum cp211x_uart::DataBits
[−]
[src]
pub enum DataBits { Bits5, Bits6, Bits7, Bits8, }
The number of data bits in UART configuration.
Variants
Bits5
5 data bits
Bits6
6 data bits
Bits7
7 data bits
Bits8
8 data bits
Trait Implementations
impl Clone for DataBits
[src]
fn clone(&self) -> DataBits
[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 DataBits
[src]
impl PartialEq for DataBits
[src]
fn eq(&self, __arg_0: &DataBits) -> 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 !=
.