Trait petgraph::visit::IntoEdges [] [src]

pub trait IntoEdges: IntoEdgeReferences + IntoNeighbors {
    type Edges: Iterator<Item = Self::EdgeRef>;
    fn edges(self, a: Self::NodeId) -> Self::Edges;
}

Access to the edges of each node.

The edges are, depending on the graph’s edge type:

This is an extended version of the trait IntoNeighbors; the former only iterates over the target node identifiers, while this trait yields edge references (trait EdgeRef).

Associated Types

Required Methods

Implementations on Foreign Types

impl<'a, G> IntoEdges for &'a G where
    G: IntoEdges
[src]

[src]

Implementors