pub enum VisitRecursion {
Continue,
Skip,
Stop,
}
Expand description
Controls how the TreeNode
recursion should proceed for TreeNode::visit
.
Variants§
Continue
Continue the visit to this node tree.
Skip
Keep recursive but skip applying op on the children
Stop
Stop the visit to this node tree.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for VisitRecursion
impl Send for VisitRecursion
impl Sync for VisitRecursion
impl Unpin for VisitRecursion
impl UnwindSafe for VisitRecursion
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