pub struct DepthLimitedExpander {
pub max_depth: usize,
pub current_depth: usize,
}Expand description
A macro expansion depth limiter.
Fields§
§max_depth: usizeMaximum expansion depth
current_depth: usizeCurrent depth
Implementations§
Auto Trait Implementations§
impl Freeze for DepthLimitedExpander
impl RefUnwindSafe for DepthLimitedExpander
impl Send for DepthLimitedExpander
impl Sync for DepthLimitedExpander
impl Unpin for DepthLimitedExpander
impl UnsafeUnpin for DepthLimitedExpander
impl UnwindSafe for DepthLimitedExpander
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