pub trait MacroNode: Any {
// Required method
fn as_any(&self) -> &dyn Any;
}Expand description
NODE TRAITS
MacroNode
Shared trait implemented by every concrete schema node descriptor.
as_any keeps type erasure and downcasting local to the schema-node
boundary instead of leaking it into callers.