Type Alias depends::HashSetVisitor
source · pub type HashSetVisitor = HashSet<usize>;
Expand description
The default Visitor type.
Aliased Type§
struct HashSetVisitor { /* private fields */ }
Trait Implementations§
source§impl Visitor for HashSetVisitor
impl Visitor for HashSetVisitor
type Hasher = DefaultHasher
source§fn visit<N>(&mut self, node: &N) -> boolwhere
N: Identifiable,
fn visit<N>(&mut self, node: &N) -> boolwhere
N: Identifiable,
Return true iff this node hasn’t been visited yet.
source§fn clear(&mut self)
fn clear(&mut self)
Clear the internal collection, prompting this visitor to revisit all
nodes on the next traversal.
fn hasher(&self) -> Self::Hasher
source§fn touch<N>(&mut self, _node: &N, _operation: Option<&'static str>)where
N: Identifiable,
fn touch<N>(&mut self, _node: &N, _operation: Option<&'static str>)where
N: Identifiable,
Touch the node. Useful for building graph visualisations.
source§fn notify_recalculated<N>(&mut self, _node: &N)where
N: Identifiable,
fn notify_recalculated<N>(&mut self, _node: &N)where
N: Identifiable,
For diagnostics, notify that a node has been recalculated.
source§fn touch_dependency_group(&mut self, _dep: &'static str)
fn touch_dependency_group(&mut self, _dep: &'static str)
Touch a dependency group type. Useful for building graph visualisations.