Struct smoltcp::wire::pretty_print::PrettyIndent
[−]
[src]
pub struct PrettyIndent { /* fields omitted */ }
Indentation state.
Methods
impl PrettyIndent
[src]
fn new(prefix: &'static str) -> PrettyIndent
[src]
Create an indentation state. The entire listing will be indented by the width
of prefix
, and prefix
will appear at the start of the first line.
fn increase(&mut self)
[src]
Increase indentation level.