Trait arithmetic_coding::BitStore
source · [−]pub trait BitStore: Shl<u32, Output = Self> + ShlAssign<u32> + From<u32> + Sub<Self, Output = Self> + Add<Self, Output = Self> + Mul<Self, Output = Self> + Div<Self, Output = Self> + AddAssign<Self> + PartialOrd<Self> + Copy + Debug {
const BITS: u32;
const ZERO: Self;
const ONE: Self;
fn log2(self) -> u32;
}
Expand description
A trait for a type that can be used for the internal integer representation of an encoder or decoder