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

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

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]

Implementors