Skip to main content

is_power_of_two

Function is_power_of_two 

Source
pub fn is_power_of_two(value: usize) -> bool
Expand description

True when value is a power of two (including 1).