pub enum WalkEvent<T> {
Enter(T),
Leave(T),
}
Expand description
WalkEvent
describes tree walking process.
Variants§
Implementations§
Trait Implementations§
impl<T> Copy for WalkEvent<T>where
T: Copy,
Auto Trait Implementations§
impl<T> Freeze for WalkEvent<T>where
T: Freeze,
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§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)