pub struct NestingDepthTracker {
pub current_depth: u32,
pub max_depth: u32,
pub peak_depth: u32,
pub limit_hit_count: u64,
}Fields§
§current_depth: u32§max_depth: u32§peak_depth: u32§limit_hit_count: u64Implementations§
Trait Implementations§
Source§impl Clone for NestingDepthTracker
impl Clone for NestingDepthTracker
Source§fn clone(&self) -> NestingDepthTracker
fn clone(&self) -> NestingDepthTracker
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NestingDepthTracker
impl RefUnwindSafe for NestingDepthTracker
impl Send for NestingDepthTracker
impl Sync for NestingDepthTracker
impl Unpin for NestingDepthTracker
impl UnsafeUnpin for NestingDepthTracker
impl UnwindSafe for NestingDepthTracker
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