Struct cargo::util::graph::Graph
[−]
[src]
pub struct Graph<N> { // some fields omitted }
pub struct Graph<N> { // some fields omitted }
impl<N: Eq + Hash + Clone> Graph<N>
fn new() -> Graph<N>
fn add(&mut self, node: N, children: &[N])
fn link(&mut self, node: N, child: N)
fn get_nodes(&self) -> &HashMap<N, HashSet<N>>
fn edges(&self, node: &N) -> Option<Edges<N>>
fn sort(&self) -> Option<Vec<N>>
fn iter(&self) -> Nodes<N>
impl<N: Display + Eq + Hash> Debug for Graph<N>
impl<N: Eq + Hash> PartialEq for Graph<N>
impl<N: Eq + Hash> Eq for Graph<N>
impl<N: Eq + Hash + Clone> Clone for Graph<N>
fn clone(&self) -> Graph<N>
fn clone_from(&mut self, source: &Self)