pub trait Create: Build + Default {
// Required method
fn with_capacity(nodes: usize, edges: usize) -> Self;
}
Expand description
A graph that can be created
Required Methods§
fn with_capacity(nodes: usize, edges: usize) -> Self
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.