pub struct ScopeGuard { /* private fields */ }
Expand description
A guard that tracks the lifetime of a scope, measures timing, and manages indentation
Implementations§
Source§impl ScopeGuard
impl ScopeGuard
Sourcepub fn indent_level() -> usize
pub fn indent_level() -> usize
Get the current indentation level
Trait Implementations§
Source§impl Debug for ScopeGuard
impl Debug for ScopeGuard
Auto Trait Implementations§
impl Freeze for ScopeGuard
impl RefUnwindSafe for ScopeGuard
impl Send for ScopeGuard
impl Sync for ScopeGuard
impl Unpin for ScopeGuard
impl UnwindSafe for ScopeGuard
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