pub struct Rabin64 {
pub hash: Polynom64,
/* private fields */
}
Fields
hash: Polynom64
Implementations
sourceimpl Rabin64
impl Rabin64
pub fn calculate_out_table(
window_size: usize,
mod_polynom: &Polynom64
) -> [Polynom64; 256]
pub fn calculate_mod_table(mod_polynom: &Polynom64) -> [Polynom64; 256]
pub fn new(window_size_nb_bits: u32) -> Rabin64
pub fn new_with_polynom(
window_size_nb_bits: u32,
mod_polynom: &Polynom64
) -> Rabin64
Trait Implementations
sourceimpl RollingHash64 for Rabin64
impl RollingHash64 for Rabin64
Auto Trait Implementations
impl RefUnwindSafe for Rabin64
impl Send for Rabin64
impl Sync for Rabin64
impl Unpin for Rabin64
impl UnwindSafe for Rabin64
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more