Unsigned integers.
trait UnsignedInt : Int {
/* Required methods */
fn checked_next_power_of_two(&self) -> Option<Self>
fn next_power_of_two(&self) -> Self
}| Receiver | Name | Description |
|---|---|---|
&self | checked_next_power_of_two | Calculates the next power of two greater or equal the current value. |
&self | next_power_of_two | Calculates the next power of two greater or equal the current value. |