Enum cp211x_uart::Parity [] [src]

pub enum Parity {
    None,
    Odd,
    Even,
    Mark,
    Space,
}

The parity in UART configuration.

Variants

No parity.

Odd parity (sum of data bits is odd).

Even parity (sum of data bits is even).

Mark parity (always 1).

Space parity (always 0).

Trait Implementations

impl Clone for Parity
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Parity
[src]

impl PartialEq for Parity
[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 Parity
[src]

impl Debug for Parity
[src]

[src]

Formats the value using the given formatter.

impl Default for Parity
[src]

[src]

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