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
baud_rate: u32
data_bits: DataBits
parity: Parity
stop_bits: StopBits
flow_control: FlowControl
Trait Implementations
impl Clone for UartConfig
[src]
fn clone(&self) -> UartConfig
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for UartConfig
[src]
fn eq(&self, __arg_0: &UartConfig) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &UartConfig) -> bool
[src]
This method tests for !=
.