Enum cp211x_uart::DataBits [] [src]

pub enum DataBits {
    Bits5,
    Bits6,
    Bits7,
    Bits8,
}

The number of data bits in UART configuration.

Variants

5 data bits

6 data bits

7 data bits

8 data bits

Trait Implementations

impl Clone for DataBits
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for DataBits
[src]

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

impl Debug for DataBits
[src]

[src]

Formats the value using the given formatter.

impl Default for DataBits
[src]

[src]

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