pub struct HashToLevel { /* private fields */ }
Implementations§
Source§impl 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 Freeze for HashToLevel
impl RefUnwindSafe for HashToLevel
impl Send for HashToLevel
impl Sync for HashToLevel
impl Unpin for HashToLevel
impl UnwindSafe for HashToLevel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more