Struct smoltcp::wire::pretty_print::PrettyPrinter
[−]
[src]
pub struct PrettyPrinter<'a, T: PrettyPrint> { /* fields omitted */ }
Wrapper for using a PrettyPrint
where a Display
is expected.
Methods
impl<'a, T: PrettyPrint> PrettyPrinter<'a, T>
[src]
fn new(prefix: &'static str, buffer: &'a AsRef<[u8]>) -> PrettyPrinter<'a, T>
[src]
Format the listing with the recorded parameters when Display::fmt is called.