Struct smoltcp::wire::pretty_print::PrettyIndent
source · [−]pub struct PrettyIndent { /* private fields */ }Expand description
Indentation state.
Implementations
sourceimpl PrettyIndent
impl PrettyIndent
sourcepub fn new(prefix: &'static str) -> PrettyIndent
pub fn new(prefix: &'static str) -> PrettyIndent
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.
Trait Implementations
sourceimpl Debug for PrettyIndent
impl Debug for PrettyIndent
sourceimpl Display for PrettyIndent
impl Display for PrettyIndent
Auto Trait Implementations
impl RefUnwindSafe for PrettyIndent
impl Send for PrettyIndent
impl Sync for PrettyIndent
impl Unpin for PrettyIndent
impl UnwindSafe for PrettyIndent
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more