pub enum Descent {
Descend,
Skip,
}Expand description
Per-node descent decision returned from NodeVisitor::enter.
Variants§
Descend
Descend into this node’s children.
Skip
Skip this node’s subtree but continue walking siblings/parent.
Trait Implementations§
impl Copy for Descent
impl Eq for Descent
impl StructuralPartialEq for Descent
Auto Trait Implementations§
impl Freeze for Descent
impl RefUnwindSafe for Descent
impl Send for Descent
impl Sync for Descent
impl Unpin for Descent
impl UnsafeUnpin for Descent
impl UnwindSafe for Descent
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