pub struct LineConfig {
pub data_bits: DataBits,
pub parity: Parity,
pub stop_bits: StopBits,
}Expand description
UART line config structure
Fields§
§data_bits: DataBits§parity: Parity§stop_bits: StopBitsTrait Implementations§
Source§impl Clone for LineConfig
impl Clone for LineConfig
Source§fn clone(&self) -> LineConfig
fn clone(&self) -> LineConfig
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 LineConfig
impl Debug for LineConfig
Source§impl PartialEq for LineConfig
impl PartialEq for LineConfig
impl Copy for LineConfig
impl Eq for LineConfig
impl StructuralPartialEq for LineConfig
Auto Trait Implementations§
impl Freeze for LineConfig
impl RefUnwindSafe for LineConfig
impl Send for LineConfig
impl Sync for LineConfig
impl Unpin for LineConfig
impl UnwindSafe for LineConfig
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