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, V: Graphlike> Graphlike for AsUndirected<&'a V>
type NodeId = V::NodeId
impl<'a, V: Visitable> Visitable for AsUndirected<&'a V>
type Map = V::Map
fn visit_map(&self) -> V::Map
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).
Search functions by type signature (e.g.
vec -> usize
)