Struct petgraph::visit::Reversed [] [src]

pub struct Reversed<G>(pub G);

Wrapper type for walking the graph as if all edges are reversed.

Trait Implementations

impl<G: Copy> Copy for Reversed<G>
[src]

impl<G: Clone> Clone for Reversed<G>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<G: GraphBase> GraphBase for Reversed<G>
[src]

node identifier

edge identifier

impl<G: GraphRef> GraphRef for Reversed<G>
[src]

impl<G> IntoNodeIdentifiers for Reversed<G> where G: IntoNodeIdentifiers
[src]

impl<G> IntoNeighbors for Reversed<G> where G: IntoNeighborsDirected
[src]

Return an iterator of the neighbors of node a.

impl<G> IntoNeighborsDirected for Reversed<G> where G: IntoNeighborsDirected
[src]

impl<G> IntoExternals for Reversed<G> where G: IntoExternals
[src]

Return an iterator of all nodes with no edges in the given direction

impl<G: Visitable> Visitable for Reversed<G>
[src]

The associated map type

Create a new visitor map

Reset the visitor map (and resize to new size of graph if needed)

impl<G> GraphEdgeRef for Reversed<G> where G: GraphEdgeRef
[src]

impl<G> IntoEdgeReferences for Reversed<G> where G: IntoEdgeReferences
[src]