Enum serialport::DataBits
[−]
[src]
pub enum DataBits { Five, Six, Seven, Eight, }
Number of bits per character.
Variants
Five
5 bits per character
Six
6 bits per character
Seven
7 bits per character
Eight
8 bits per character
Trait Implementations
impl Debug for DataBits
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for DataBits
[src]
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 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 !=
.