pub struct IndentGuard { /* private fields */ }Expand description
RAII guard returned by indent_one_level. Removes the extra indent
level when dropped.
Trait Implementations§
Source§impl Drop for IndentGuard
impl Drop for IndentGuard
Auto Trait Implementations§
impl Freeze for IndentGuard
impl RefUnwindSafe for IndentGuard
impl Send for IndentGuard
impl Sync for IndentGuard
impl Unpin for IndentGuard
impl UnsafeUnpin for IndentGuard
impl UnwindSafe for IndentGuard
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