Enum serial::StopBits [] [src]

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 Eq for StopBits
[src]

impl PartialEq for StopBits
[src]

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

This method tests for !=.

impl Clone for StopBits
[src]

fn clone(&self) -> StopBits

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for StopBits
[src]

impl Debug for StopBits
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.