Struct petgraph::visit::AsUndirected
[−]
[src]
pub struct AsUndirected<G>(pub G);
Wrapper type for walking the graph as if it is undirected
pub struct AsUndirected<G>(pub G);
Wrapper type for walking the graph as if it is undirected
impl<'a, 'b, N, E: 'a, Ty, Ix> NeighborIter<'a> for AsUndirected<&'b Graph<N, E, Ty, Ix>> where Ty: EdgeType, Ix: IndexType
impl<'a, G: Graphlike> Graphlike for AsUndirected<&'a G>
type NodeId = G::NodeId
impl<'a, G: Visitable> Visitable for AsUndirected<&'a G>
type Map = G::Map
fn visit_map(&self) -> G::Map