Trait SparseGraphConstruction

Source
pub trait SparseGraphConstruction: Sized {
    // Required method
    fn construct_graph(
        vsize: usize,
        edges: Vec<(usize, usize)>,
    ) -> SparseGraph<Self>;
}

Required Methods§

Source

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.

Implementors§