Trait cortex_m_log::printer::Printer
source · pub trait Printer {
type W: Write;
type M: InterruptModer;
// Required method
fn destination(&mut self) -> &mut Self::W;
// Provided methods
fn print(&mut self, args: Arguments<'_>) { ... }
fn println(&mut self, args: Arguments<'_>) { ... }
}
Expand description
Generic Printer trait
Required Associated Types§
Required Methods§
sourcefn destination(&mut self) -> &mut Self::W
fn destination(&mut self) -> &mut Self::W
Returns destination writer.
Used by print
and println
default
impls