Struct linux_embedded_hal::Serial
source · [−]pub struct Serial(pub TTYPort);Expand description
Newtype around serial_unix::TTYPort that implements
the embedded-hal traits.
Tuple Fields
0: TTYPortImplementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Serial
impl Send for Serial
impl Sync for Serial
impl Unpin for Serial
impl UnwindSafe for Serial
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more