Struct usbd_serial::LineCoding
source · 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 fn parity_type(&self) -> ParityType
pub fn parity_type(&self) -> ParityType
Gets the parity type for UART communication.
Trait Implementations§
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