pub struct GroupCodingStream<'a, T: Hash + Eq + Streamable, B: MutBits> { /* private fields */ }
Available on crate features
std
and miniz
only.Expand description
Stream to collect values into groups of 4 and then run them through a GroupVarintCodeEncoder
Implementations§
Source§impl<'a, T: Hash + Eq + Default + Streamable, B: MutBits> GroupCodingStream<'a, T, B>
impl<'a, T: Hash + Eq + Default + Streamable, B: MutBits> GroupCodingStream<'a, T, B>
pub fn new(inner: BitsWrapper<'a, B>) -> Self
pub fn counter(&self) -> SharedROCounter
Trait Implementations§
Source§impl<'a, T: Hash + Eq + Streamable, B: MutBits> Drop for GroupCodingStream<'a, T, B>
impl<'a, T: Hash + Eq + Streamable, B: MutBits> Drop for GroupCodingStream<'a, T, B>
Auto Trait Implementations§
impl<'a, T, B> Freeze for GroupCodingStream<'a, T, B>
impl<'a, T, B> RefUnwindSafe for GroupCodingStream<'a, T, B>where
B: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T, B> Send for GroupCodingStream<'a, T, B>
impl<'a, T, B> Sync for GroupCodingStream<'a, T, B>
impl<'a, T, B> Unpin for GroupCodingStream<'a, T, B>
impl<'a, T, B> !UnwindSafe for GroupCodingStream<'a, T, B>
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