[][src]Trait handlegraph::handlegraph::IntoEdges

pub trait IntoEdges: Sized {
    type Edges: Iterator<Item = Edge>;
    fn edges(self) -> Self::Edges;
}

Access all the edges in the graph as an iterator, and related and querying the graph for number of edges.

Associated Types

type Edges: Iterator<Item = Edge>[src]

The iterator through all the edges in the graph.

Loading content...

Required methods

fn edges(self) -> Self::Edges[src]

Return an iterator that produces each of the edges in the graph.

Loading content...

Implementors

impl<'a> IntoEdges for &'a HashGraph[src]

type Edges = EdgesIter<&'a HashGraph>

impl<'a> IntoEdges for &'a PackedGraph[src]

type Edges = EdgesIter<&'a PackedGraph>

Loading content...