GetGraphType

Trait GetGraphType 

Source
pub trait GetGraphType {
    // Required method
    fn graph_type(&self) -> GraphType;
}
Expand description

Return the graph’s type

Required Methods§

Implementors§

Source§

impl<N> GetGraphType for &AdjList<N>
where N: Num + Default + Clone + Copy + Serialize,

Source§

impl<N> GetGraphType for &MatrixGraph<N>
where N: Num + Default + Clone + Copy + Serialize,

Source§

impl<N> GetGraphType for AdjList<N>
where N: Num + Default + Clone + Copy + Serialize,

Source§

impl<N> GetGraphType for MatrixGraph<N>
where N: Num + Default + Clone + Copy + Serialize,