logo
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

Iterate over all nodes.

Provided Methods

Number of nodes. Order of the graph.

Implementors