Trait xalloc::int::BinaryUInteger
[−]
[src]
pub trait BinaryUInteger: BinaryInteger { fn is_power_of_two(&self) -> bool; }
Unsigned integral types with efficient binary operations.
Required Methods
fn is_power_of_two(&self) -> bool
Return ture
if and only if self == 2^k
for some k
.