pub trait BfsCallback {
// Required methods
fn new_state(&mut self, depth: usize, state: u64);
fn end_of_chunk(&self, depth: usize, chunk_idx: usize);
}Expand description
Defines callback functions that run during the BFS.
Required Methods§
Sourcefn end_of_chunk(&self, depth: usize, chunk_idx: usize)
fn end_of_chunk(&self, depth: usize, chunk_idx: usize)
Called when a chunk of the bit array has finished processing.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".