Skip to main content

bit_mask_u64

Function bit_mask_u64 

Source
pub const fn bit_mask_u64(x: usize) -> u64
Expand description

Returns a bitmask of x low bits set, matching C++’s BIT_MASK(x) from <bits.h>.