[][src]Trait xalloc::int::BinaryUInteger

pub trait BinaryUInteger: BinaryInteger {
    pub fn is_power_of_two(&self) -> bool;
}

Unsigned integral types with efficient binary operations.

Required methods

pub fn is_power_of_two(&self) -> bool[src]

Return ture if and only if self == 2^k for some k.

Loading content...

Implementations on Foreign Types

impl BinaryUInteger for u8[src]

impl BinaryUInteger for u16[src]

impl BinaryUInteger for u32[src]

impl BinaryUInteger for u64[src]

impl BinaryUInteger for usize[src]

Loading content...

Implementors

Loading content...