Enum serialport::StopBits [−][src]
pub enum StopBits { One, Two, }
Number of stop bits.
Stop bits are transmitted after every character.
Variants
One
One stop bit.
Two
Two stop bits.
Trait Implementations
impl Debug for StopBits
[src]
impl Debug for StopBits
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for StopBits
[src]
impl Copy for StopBits
impl Clone for StopBits
[src]
impl Clone for StopBits
fn clone(&self) -> StopBits
[src]
fn clone(&self) -> StopBits
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for StopBits
[src]
impl PartialEq for StopBits
fn eq(&self, other: &StopBits) -> bool
[src]
fn eq(&self, other: &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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for StopBits
[src]
impl Eq for StopBits