pub enum VisitResult {
NoChange,
Replace(NewNode),
Remove,
}Expand description
The result of a visitor method: either no change, or a replacement.
Variants§
NoChange
No structural change (plugin may have written to data_map via ctx)
Replace(NewNode)
Replace this node with a new one
Remove
Remove this node
Implementations§
Auto Trait Implementations§
impl Freeze for VisitResult
impl RefUnwindSafe for VisitResult
impl Send for VisitResult
impl Sync for VisitResult
impl Unpin for VisitResult
impl UnsafeUnpin for VisitResult
impl UnwindSafe for VisitResult
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