pub trait SparseGraphConstruction: Sized {
// Required method
fn construct_graph(
vsize: usize,
edges: Vec<(usize, usize)>,
) -> SparseGraph<Self>;
}
Required Methods§
fn construct_graph( vsize: usize, edges: Vec<(usize, usize)>, ) -> SparseGraph<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.