pub struct UartConfig {
pub baud_rate: BaudRate,
pub data_bits: DataBits,
pub stop_bits: StopBits,
pub parity: Parity,
}Fields§
§baud_rate: BaudRate§data_bits: DataBits§stop_bits: StopBits§parity: ParityTrait Implementations§
Source§impl Clone for UartConfig
impl Clone for UartConfig
Source§fn clone(&self) -> UartConfig
fn clone(&self) -> UartConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UartConfig
impl Debug for UartConfig
Source§impl Default for UartConfig
impl Default for UartConfig
Source§impl PartialEq for UartConfig
impl PartialEq for UartConfig
impl Copy for UartConfig
impl StructuralPartialEq for UartConfig
Auto Trait Implementations§
impl Freeze for UartConfig
impl RefUnwindSafe for UartConfig
impl Send for UartConfig
impl Sync for UartConfig
impl Unpin for UartConfig
impl UnwindSafe for UartConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more