Trait graphs_tools::abs::graph::prelude::GraphNodesEnumerableInterface
source · [−]pub trait GraphNodesEnumerableInterface where
Self: GraphNodesNominalInterface, {
fn nodes<'a, 'b>(
&'a self
) -> Box<dyn Iterator<Item = (<<Self as GraphNodesNominalInterface>::NodeHandle as HasId>::Id, &<Self as GraphNodesNominalInterface>::NodeHandle)> + 'b>
where
'a: 'b;
fn nnodes(&self) -> usize { ... }
}
Expand description
Graph nodes of which is possible to enumerate.
Required Methods
fn nodes<'a, 'b>(
&'a self
) -> Box<dyn Iterator<Item = (<<Self as GraphNodesNominalInterface>::NodeHandle as HasId>::Id, &<Self as GraphNodesNominalInterface>::NodeHandle)> + 'b> where
'a: 'b,
fn nodes<'a, 'b>(
&'a self
) -> Box<dyn Iterator<Item = (<<Self as GraphNodesNominalInterface>::NodeHandle as HasId>::Id, &<Self as GraphNodesNominalInterface>::NodeHandle)> + 'b> where
'a: 'b,
Iterate over all nodes.