pub struct LineCoding { /* private fields */ }
Expand description
Line coding parameters
This is provided by the host for specifying the standard UART parameters such as baud rate. Can be ignored if you don’t plan to interface with a physical UART.
Implementations§
Source§impl LineCoding
impl LineCoding
Sourcepub const fn parity_type(&self) -> ParityType
pub const fn parity_type(&self) -> ParityType
Gets the parity type for UART communication.
Trait Implementations§
Source§impl Clone for LineCoding
impl Clone for LineCoding
Source§fn clone(&self) -> LineCoding
fn clone(&self) -> LineCoding
Returns a copy 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 LineCoding
impl Debug for LineCoding
Source§impl Default for LineCoding
impl Default for LineCoding
Source§impl Format for LineCoding
impl Format for LineCoding
impl Copy for LineCoding
Auto Trait Implementations§
impl Freeze for LineCoding
impl RefUnwindSafe for LineCoding
impl Send for LineCoding
impl Sync for LineCoding
impl Unpin for LineCoding
impl UnwindSafe for LineCoding
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)