pub trait DepthCounter:
From<u8>
+ PartialEq<Self>
+ AddAssign<Self>
+ SubAssign<Self>
+ Not<Output = Self>
+ Debug { }Expand description
Trait for depth counters - tracks nesting depth.
This is automatically implemented for any type that satisfies the individual bounds.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.