Trait cortex_m_log::printer::Printer[][src]

pub trait Printer {
    type W: Write;
    type M: InterruptModer;
    fn destination(&mut self) -> &mut Self::W;

    fn print(&mut self, args: Arguments) { ... }
fn println(&mut self, args: Arguments) { ... } }

Generic Printer trait

Associated Types

Required Methods

Returns destination writer.

Used by print and println default impls

Provided Methods

Prints formatted output to destination

Prints formatted output to destination with newline

Implementors