Function is_power_of_two

Source
pub const fn is_power_of_two(n: u64) -> bool
Expand description

Check if a u64 value is a power of 2 at compile time