pub fn structural_visit<R, M>(
root: &R,
visitor: impl IntoVisitor<M>,
) -> Result<Option<VisitInterrupt>>Expand description
Visit root with a StructuralVisitor or typed callback chain.
A matching callback owns recursion; unmatched values use default child
traversal. Use VisitCallbacks to attach mutable state to the chain.