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§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".