pub trait Node: Sized {
// Required methods
fn id(&self) -> &NodeId;
fn children(&self) -> &Children<Self>;
}Expand description
A node of a tree, as far as its shape goes.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".