pub trait NodeCount: GraphBase {
// Required method
fn node_count(&self) -> usize;
}Expand description
A graph with a known node count.
Required Methods§
fn node_count(&self) -> usize
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".