Trait arithmetic_coding_core::BitStore
source · [−]pub trait BitStore: Shl<u32, Output = Self> + ShlAssign<u32> + Sized + From<u32> + Sub<Output = Self> + Add<Output = Self> + Mul<Output = Self> + Div<Output = Self> + AddAssign + PartialOrd + Copy {
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