pub trait NormalizeAuto {
// Provided method
fn normalize_self(&mut self, _ctx: &mut dyn VisitorContext) { ... }
}Expand description
Schema-defined normalization for this node only.
Rules:
- May mutate only
self - Must NOT recurse
- Must NOT fail-fast
- Must report issues via
VisitorContext
Provided Methods§
fn normalize_self(&mut self, _ctx: &mut dyn VisitorContext)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".