Enum serialport::BreakDuration
source · pub enum BreakDuration {
Short,
Arbitrary(NonZeroI32),
}
Expand description
Specifies the duration of a transmission break
Variants§
Trait Implementations§
source§impl Clone for BreakDuration
impl Clone for BreakDuration
source§fn clone(&self) -> BreakDuration
fn clone(&self) -> BreakDuration
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 BreakDuration
impl Debug for BreakDuration
impl Copy for BreakDuration
Auto Trait Implementations§
impl Freeze for BreakDuration
impl RefUnwindSafe for BreakDuration
impl Send for BreakDuration
impl Sync for BreakDuration
impl Unpin for BreakDuration
impl UnwindSafe for BreakDuration
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