[][src]Function indexed_bitvec_core::index_raw::index_size_for

pub fn index_size_for(bits: BitsRef) -> usize

Calculate the storage size for an index for a given bitvector (O(1)).

This just looks at the number of bits in the bitvector and does some calculations. The number returned is the number of u64s needed to store the index.