logo
pub trait GraphNodesEnumerableInterface: GraphNodesNominalInterface {
    fn nodes<'a, 'b>(
        &'a self
    ) -> Box<dyn Iterator<Item = (<Self::NodeHandle as HasId>::Id, &'a Self::NodeHandle)> + 'b, Global>
    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