pub struct Indent<'f, F: Write + ?Sized> { /* private fields */ }
Expand description
Pads text with leading indentation after every newline
Trait Implementations§
Auto Trait Implementations§
impl<'f, F> Freeze for Indent<'f, F>where
F: ?Sized,
impl<'f, F> RefUnwindSafe for Indent<'f, F>where
F: RefUnwindSafe + ?Sized,
impl<'f, F> Send for Indent<'f, F>
impl<'f, F> Sync for Indent<'f, F>
impl<'f, F> Unpin for Indent<'f, F>where
F: ?Sized,
impl<'f, F> !UnwindSafe for Indent<'f, F>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more