Trait mulch::math::PowerOfTwoable
source · pub trait PowerOfTwoable {
// Required methods
fn is_power_of_two(self) -> bool;
fn next_power_of_two(self) -> Self;
}
Required Methods§
fn is_power_of_two(self) -> bool
fn next_power_of_two(self) -> Self
Object Safety§
This trait is not object safe.