Method lrs::num::Wsize::checked_next_power_of_two

Calculates the next power of two greater or equal the current value.

Syntax

impl Wsize {
    fn checked_next_power_of_two(self) -> Option<Wsize>
}

Return value

Returns the next power of two or None on overflow.