Function bit_mask
pub const fn bit_mask<const N: usize, A: FastOpImpl>(
a: ExprBuilder<N, A>,
) -> ExprBuilder<{ _ }, BitMaskOp<A>>
Expand description
Computes (1 << N) - 1, which is an integer with the lowest N bits set to 1 and the rest to 0.
pub const fn bit_mask<const N: usize, A: FastOpImpl>(
a: ExprBuilder<N, A>,
) -> ExprBuilder<{ _ }, BitMaskOp<A>>
Computes (1 << N) - 1, which is an integer with the lowest N bits set to 1 and the rest to 0.