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: Clone> Clone for Reversed<G>[src]

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

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

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

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

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

type NodeId = G::NodeId

node identifier

type EdgeId = G::EdgeId

edge identifier

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

type EdgeType = G::EdgeType

The kind edges in the graph.

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

impl<G> IntoEdges for Reversed<G> where
    G: IntoEdgesDirected
[src]

type Edges = ReversedEdges<G::EdgesDirected>

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

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

type Neighbors = G::NeighborsDirected

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

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

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

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

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

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

type Map = G::Map

The associated map type

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

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

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

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.