Trait petgraph::visit::IntoNeighborsDirected [] [src]

pub trait IntoNeighborsDirected: IntoNeighbors {
    type NeighborsDirected: Iterator<Item=Self::NodeId>;
    fn neighbors_directed(self, n: Self::NodeId, d: EdgeDirection) -> Self::NeighborsDirected;
}

Access to the neighbors of each node, through incoming or outgoing edges.

Associated Types

Required Methods

Implementors