Trait petgraph::visit::IntoEdgesDirected [] [src]

pub trait IntoEdgesDirected: IntoEdges + IntoNeighborsDirected {
    type EdgesDirected: Iterator<Item = Self::EdgeRef>;
    fn edges_directed(
        self,
        a: Self::NodeId,
        dir: Direction
    ) -> Self::EdgesDirected; }

Access to all edges of each node, in the specified direction.

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

This is an extended version of the trait IntoNeighborsDirected; 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> IntoEdgesDirected for &'a G where
    G: IntoEdgesDirected
[src]

[src]

Implementors