pub trait VisitorMut {
// Required method
fn leaf(
&mut self,
path: &str,
array: &mut Array,
kind: LeafKind,
frozen: Option<&mut bool>,
);
// Provided methods
fn paths(&self) -> bool { ... }
fn child(&mut self, path: &str, child: &mut dyn Any) -> bool { ... }
fn training(&mut self, path: &str, flag: &mut bool) { ... }
}Expand description
Receives what a VisitMut reports, with full paths.
Required Methods§
Provided Methods§
Sourcefn paths(&self) -> bool
fn paths(&self) -> bool
Whether the visitor reads paths (true by default); see Visitor::paths.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".