pub enum Event {
Next,
Down,
Up,
}
Expand description
An event indicating how a tree is being walked with WalkEvents
.
See WalkEvents
for documentation.
Variants§
Next
Walk the next sibling node. This is also the initial event being emitted when entering the iterator.
Down
Walk down the first child of a sub tree.
Up
Walk up a single step from a sub tree.
Trait Implementations§
impl Copy for Event
impl Eq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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