pub struct UintModel { /* private fields */ }Expand description
Adaptive Elias-gamma style coder for unbounded non-negative integers:
unary bucket k = ⌊log₂(v+1)⌋ with one model per bucket position, then
the k mantissa bits (top MODELED with models, the rest raw).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UintModel
impl RefUnwindSafe for UintModel
impl Send for UintModel
impl Sync for UintModel
impl Unpin for UintModel
impl UnsafeUnpin for UintModel
impl UnwindSafe for UintModel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more