pub enum WalkEvent<T> {
Enter(T),
Leave(T),
}
Expand description
WalkEvent
describes tree walking process.
Variants
Enter(T)
Fired before traversing the node.
Leave(T)
Fired after the node is traversed.
Implementations
Trait Implementations
impl<T> Copy for WalkEvent<T>where
T: Copy,
Auto Trait Implementations
impl<T> RefUnwindSafe for WalkEvent<T>where
T: RefUnwindSafe,
impl<T> Send for WalkEvent<T>where
T: Send,
impl<T> Sync for WalkEvent<T>where
T: Sync,
impl<T> Unpin for WalkEvent<T>where
T: Unpin,
impl<T> UnwindSafe for WalkEvent<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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