pub struct PadAdapter<'a, 'b: 'a, 'c> { /* private fields */ }
Expand description
Pad adapter inserts the padding after each newline except the last.
The default padding is
.
Implementations§
Source§impl<'a, 'b: 'a, 'c> PadAdapter<'a, 'b, 'c>
impl<'a, 'b: 'a, 'c> PadAdapter<'a, 'b, 'c>
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b, 'c> Freeze for PadAdapter<'a, 'b, 'c>
impl<'a, 'b, 'c> !RefUnwindSafe for PadAdapter<'a, 'b, 'c>
impl<'a, 'b, 'c> !Send for PadAdapter<'a, 'b, 'c>
impl<'a, 'b, 'c> !Sync for PadAdapter<'a, 'b, 'c>
impl<'a, 'b, 'c> Unpin for PadAdapter<'a, 'b, 'c>
impl<'a, 'b, 'c> !UnwindSafe for PadAdapter<'a, 'b, 'c>
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