Struct daggy::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<'a, 'b, N, E, Ty, Ix> NeighborIter<'a> for Reversed<&'b Graph<N, E, Ty, Ix>> where E: 'a, Ix: IndexType, Ty: EdgeType

Return an iterator that visits all neighbors of the node n.

impl<'a, 'b, G> NeighborsDirected<'a> for Reversed<&'b G> where G: NeighborsDirected<'a>

Return an iterator that visits all neighbors of the node n.

impl<'a, 'b, G> Externals<'a> for Reversed<&'b G> where G: Externals<'a>

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

impl<'a, G> Revisitable for Reversed<&'a G> where G: Revisitable

impl<'a, G> Graphlike for Reversed<&'a G> where G: Graphlike

impl<'a, G> Visitable for Reversed<&'a G> where G: Visitable