Struct petgraph::visit::AsUndirected [] [src]

pub struct AsUndirected<G>(pub G);

Wrapper type for walking the graph as if it is undirected

Trait Implementations

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'b, N, E, Ty, Ix> IntoNeighbors for AsUndirected<&'b Graph<N, E, Ty, Ix>> where Ty: EdgeType, Ix: IndexType
[src]

Return an iterator of the neighbors of node a.

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

node identifier

edge identifier

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

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

The associated map type

Create a new visitor map

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