pub trait Visitable: GraphBase {
type Map: VisitMap<Self::NodeId>;
// Required methods
fn visit_map(&self) -> Self::Map;
fn reset_map(&self, map: &mut Self::Map);
}Expand description
A graph that can create a map that tracks the visited status of its nodes.
Required Associated Types§
Required Methods§
Implementations on Foreign Types§
Implementors§
Source§impl<G, F> Visitable for EdgeFiltered<G, F>where
G: Visitable,
impl<G, F> Visitable for EdgeFiltered<G, F>where
G: Visitable,
Source§impl<G, F> Visitable for NodeFiltered<G, F>where
G: Visitable,
impl<G, F> Visitable for NodeFiltered<G, F>where
G: Visitable,
Source§impl<N, E, Ty, Ix> Visitable for StableGraph<N, E, Ty, Ix>
Available on crate feature stable_graph only.
impl<N, E, Ty, Ix> Visitable for StableGraph<N, E, Ty, Ix>
Available on crate feature
stable_graph only.