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