Function bitm::n_lowest_bits
source · pub const fn n_lowest_bits(how_many: u8) -> u64Expand description
Returns the largest how_many-bit number, i.e. 0..01..1 mask with how_many ones. how_many must be in range [0, 63].
pub const fn n_lowest_bits(how_many: u8) -> u64Returns the largest how_many-bit number, i.e. 0..01..1 mask with how_many ones. how_many must be in range [0, 63].