Trait twiddle::Int [] [src]

pub trait Int: Shl<usize, Output=Self> + Shr<usize, Output=Self> + Not<Output=Self> + BitAnd<Output=Self> + BitOr<Output=Self> + PartialEq<Self> + Clone + Copy {
    fn bit_width() -> usize;
    fn zero() -> Self;
    fn one() -> Self;
}

A helper trait to avoid dependencies.

Required Methods

Implementors