Function bit_u64

Source
pub const fn bit_u64(n: u32) -> u64
Expand description

Computes 1 << n by performing a compile-time assertion that n is in bounds.

This version is the default and should be used if n is known at compile time.