pub struct GenericPrinter<W> { /* private fields */ }Expand description
Generic printer which works with any core::fmt::Writer compatible type
Implementations§
Source§impl<W> GenericPrinter<W>
impl<W> GenericPrinter<W>
Trait Implementations§
Source§impl<W: Write> Printer for GenericPrinter<W>
impl<W: Write> Printer for GenericPrinter<W>
Source§type M = InterruptFree
type M = InterruptFree
Interrupt type
Source§fn destination(&mut self) -> &mut Self::W
fn destination(&mut self) -> &mut Self::W
Returns destination writer. Read more
impl<W> Sync for GenericPrinter<W>
Auto Trait Implementations§
impl<W> Freeze for GenericPrinter<W>where
W: Freeze,
impl<W> RefUnwindSafe for GenericPrinter<W>where
W: RefUnwindSafe,
impl<W> Send for GenericPrinter<W>where
W: Send,
impl<W> Unpin for GenericPrinter<W>where
W: Unpin,
impl<W> UnwindSafe for GenericPrinter<W>where
W: UnwindSafe,
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