pub struct Inspect<W, F> { /* private fields */ }
Expand description
A walker that calls a function with a reference to each index pair before yielding them.
This is often useful for debugging a walker pipeline.
Implementations
Trait Implementations
Auto Trait Implementations
impl<W, F> RefUnwindSafe for Inspect<W, F> where
F: RefUnwindSafe,
W: RefUnwindSafe,
impl<W, F> Send for Inspect<W, F> where
F: Send,
W: Send,
impl<W, F> Sync for Inspect<W, F> where
F: Sync,
W: Sync,
impl<W, F> Unpin for Inspect<W, F> where
F: Unpin,
W: Unpin,
impl<W, F> UnwindSafe for Inspect<W, F> where
F: UnwindSafe,
W: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more