pub trait BitStore:
Shl<u32, Output = Self>
+ ShlAssign<u32>
+ Sub<Output = Self>
+ Add<Output = Self>
+ Mul<Output = Self>
+ Div<Output = Self>
+ AddAssign
+ PartialOrd
+ Copy
+ Debug {
const BITS: u32;
const ZERO: Self;
const ONE: Self;
// Required method
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
Required Associated Constants§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.