pub struct SerialLinePlan { /* private fields */ }Implementations§
Source§impl SerialLinePlan
impl SerialLinePlan
pub const fn baud(self) -> u32
pub const fn data_bits(self) -> SerialDataBits
pub const fn parity(self) -> SerialParity
pub const fn stop_bits(self) -> SerialStopBits
Trait Implementations§
Source§impl Clone for SerialLinePlan
impl Clone for SerialLinePlan
Source§fn clone(&self) -> SerialLinePlan
fn clone(&self) -> SerialLinePlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SerialLinePlan
Source§impl Debug for SerialLinePlan
impl Debug for SerialLinePlan
impl Eq for SerialLinePlan
Source§impl PartialEq for SerialLinePlan
impl PartialEq for SerialLinePlan
impl StructuralPartialEq for SerialLinePlan
Auto Trait Implementations§
impl Freeze for SerialLinePlan
impl RefUnwindSafe for SerialLinePlan
impl Send for SerialLinePlan
impl Sync for SerialLinePlan
impl Unpin for SerialLinePlan
impl UnsafeUnpin for SerialLinePlan
impl UnwindSafe for SerialLinePlan
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