pub trait NodeType: Sealed {
// Required method
fn type_name() -> &'static str;
}Expand description
Trait implemented by all node type markers.
This trait is sealed - it cannot be implemented outside this crate. This allows the library to add new node types without breaking external code.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.