Trait uints::Common[][src]

pub trait Common: Default + PartialOrd + Debug {
    type Array: Array<Output = u8>;

    const ZERO: Self;
    const ONE: Self;
    const MAX: Self;
    const BYTES: u8;
    const BITS: u8;

    fn leading_zeros(&self) -> u8;
fn trailing_zeros(&self) -> u8;
fn count_ones(&self) -> u8;
fn lsb0_array(&self) -> Self::Array; fn log2(&self) -> u8 { ... } }

Associated Types

Associated Constants

Required methods

Provided methods

Implementations on Foreign Types

Implementors