Module next_power_of_two

Source

Structsยง

NextPowerOfTwo
Returns the smallest power of two greater than or equal to argument arg. Behaves like the rustc method in debug mode for all inputs of type u32.