Enum serial_embedded_hal::StopBits
[−]
pub enum StopBits { Stop1, Stop2, }
Number of stop bits.
Stop bits are transmitted after every character.
Variants
Stop1
One stop bit.
Stop2
Two stop bits.
Trait Implementations
impl Copy for StopBits
impl Eq for StopBits
impl PartialEq<StopBits> for StopBits
fn eq(&self, __arg_0: &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]
This method tests for !=
.
impl Clone for StopBits
fn clone(&self) -> StopBits
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