Function bit_vec::mask_for_bits

source ยท
pub(crate) fn mask_for_bits<B: BitBlock>(bits: usize) -> B
Expand description

Computes the bitmask for the final word of the vector