[][src]Trait petgraph::data::Create

pub trait Create: Build + Default {
    fn with_capacity(nodes: usize, edges: usize) -> Self;
}

A graph that can be created

Required methods

fn with_capacity(nodes: usize, edges: usize) -> Self

Loading content...

Implementors

impl<N, E, Ty> Create for GraphMap<N, E, Ty> where
    Ty: EdgeType,
    N: NodeTrait
[src]

impl<N, E, Ty, Ix> Create for Graph<N, E, Ty, Ix> where
    Ty: EdgeType,
    Ix: IndexType
[src]

impl<N, E, Ty, Ix> Create for StableGraph<N, E, Ty, Ix> where
    Ty: EdgeType,
    Ix: IndexType
[src]

Loading content...