Enum cp211x_uart::StopBits [] [src]

pub enum StopBits {
    Short,
    Long,
}

The number of stop bits in UART configuration.

Variants

1 stop bit.

5 data bits: 1.5 stop bits, 6-8 data bits: 2 stop bits.

Trait Implementations

impl Clone for StopBits
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for StopBits
[src]

impl PartialEq for StopBits
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for StopBits
[src]

impl Debug for StopBits
[src]

[src]

Formats the value using the given formatter.

impl Default for StopBits
[src]

[src]

Returns the "default value" for a type. Read more