pub trait RollingHash64 {
// Required methods
fn reset(&mut self);
fn prefill_window<I>(&mut self, iter: &mut I) -> usize
where I: Iterator<Item = u8>;
fn reset_and_prefill_window<I>(&mut self, iter: &mut I) -> usize
where I: Iterator<Item = u8>;
fn slide(&mut self, byte: u8);
fn get_hash(&self) -> &Polynom64;
}Expand description
A rolling hash implementation for 64 bit polynoms.
Required Methods§
Sourcefn prefill_window<I>(&mut self, iter: &mut I) -> usize
fn prefill_window<I>(&mut self, iter: &mut I) -> usize
Sourcefn reset_and_prefill_window<I>(&mut self, iter: &mut I) -> usize
fn reset_and_prefill_window<I>(&mut self, iter: &mut I) -> usize
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.