pub const fn bit_u32(n: u32) -> u32
Computes 1 << n by performing a compile-time assertion that n is in bounds.
1 << n
n
This version is the default and should be used if n is known at compile time.