Method lrs::num::W16::checked_next_power_of_two

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

Syntax

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

Return value

Returns the next power of two or None on overflow.