Trait hash_trie::traits::MaskLogB [−][src]
pub trait MaskLogB<T> { fn mask_log_b() -> T; }
Expand description
MaskLogB
provides a mask of 1s equal to the log_2 of the word size.
Required methods
fn mask_log_b() -> T
fn mask_log_b() -> T
Get the mask, length log_2 of the word size.
e.g. u32::mask_log_b() == 0b11111