Struct cp211x_uart::UartConfig [] [src]

pub struct UartConfig {
    pub baud_rate: u32,
    pub data_bits: DataBits,
    pub parity: Parity,
    pub stop_bits: StopBits,
    pub flow_control: FlowControl,
}

UART configuration.

Fields

Trait Implementations

impl Clone for UartConfig
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for UartConfig
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for UartConfig
[src]

impl Debug for UartConfig
[src]

[src]

Formats the value using the given formatter.

impl Default for UartConfig
[src]

[src]

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