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

pub struct Reversed<G>(pub G);

An edge-reversing graph adaptor.

All edges have the opposite direction with 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: Debug> Debug for Reversed<G>
[src]

Formats the value using the given formatter. Read more

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

node identifier

edge identifier

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

impl<G> Data for Reversed<G> where
    G: Data
[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: 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> IntoEdgeReferences for Reversed<G> where
    G: IntoEdgeReferences
[src]

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

Return an upper bound of the node indices in the graph (suitable for the size of a bitmap). Read more

Convert a to an integer index.

Convert i to a node index

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

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

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

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

The kind edges in the graph.

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

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

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

Auto Trait Implementations

impl<G> Send for Reversed<G> where
    G: Send

impl<G> Sync for Reversed<G> where
    G: Sync