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