Struct cdc::HashToLevel
source · [−]pub struct HashToLevel { /* private fields */ }
Implementations
sourceimpl HashToLevel
impl HashToLevel
pub fn new() -> HashToLevel
pub fn custom_new(lvl0_nb_bits: u32, lvlup_nb_bits: u32) -> HashToLevel
pub fn to_level(&self, hash: u64) -> usize
Auto Trait Implementations
impl RefUnwindSafe for HashToLevel
impl Send for HashToLevel
impl Sync for HashToLevel
impl Unpin for HashToLevel
impl UnwindSafe for HashToLevel
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