pub trait DepthFirst {
// Required method
fn depth_first_with_rng<R: Rng + ?Sized>(&mut self, rng: &mut R);
// Provided methods
fn depth_first_with_seed(&mut self, seed: [u8; 16]) { ... }
fn depth_first_with_str_seed(&mut self, seed: &str) { ... }
fn depth_first(&mut self) { ... }
}Required Methods§
fn depth_first_with_rng<R: Rng + ?Sized>(&mut self, rng: &mut R)
Provided Methods§
fn depth_first_with_seed(&mut self, seed: [u8; 16])
fn depth_first_with_str_seed(&mut self, seed: &str)
fn depth_first(&mut self)
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.