pub struct ModemConfig {
pub dtr: bool,
}Fields§
§dtr: boolImplementations§
Trait Implementations§
Source§impl Clone for ModemConfig
impl Clone for ModemConfig
Source§fn clone(&self) -> ModemConfig
fn clone(&self) -> ModemConfig
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 ModemConfig
Source§impl Debug for ModemConfig
impl Debug for ModemConfig
impl Eq for ModemConfig
Source§impl PartialEq for ModemConfig
impl PartialEq for ModemConfig
Source§fn eq(&self, other: &ModemConfig) -> bool
fn eq(&self, other: &ModemConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModemConfig
Auto Trait Implementations§
impl Freeze for ModemConfig
impl RefUnwindSafe for ModemConfig
impl Send for ModemConfig
impl Sync for ModemConfig
impl Unpin for ModemConfig
impl UnsafeUnpin for ModemConfig
impl UnwindSafe for ModemConfig
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