pub trait Searcher<N, V>: Contain<N>{
// Required methods
fn search(&mut self, graph: impl Graph<N, V>, start: N) -> Vec<N>;
fn reset(&mut self);
}
Expand description
Searcher is a trait that defines the behavior of a graph search algorithm.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.