pub struct DeltaCompressStream<'a, T: Streamable + Copy, B: MutBits> { /* private fields */ }
Available on crate feature
miniz
only.Expand description
A stream impl that writes the deflated, varint-encoded difference between
the last value and the current value to the provided MutBits
writer.
The previous value is initialized to 0.
Implementations§
Source§impl<'a, T: Streamable + Copy, B: MutBits> DeltaCompressStream<'a, T, B>
impl<'a, T: Streamable + Copy, B: MutBits> DeltaCompressStream<'a, T, B>
Trait Implementations§
Source§impl<'a, T: Streamable + Copy, B: MutBits> Drop for DeltaCompressStream<'a, T, B>
impl<'a, T: Streamable + Copy, B: MutBits> Drop for DeltaCompressStream<'a, T, B>
Auto Trait Implementations§
impl<'a, T, B> Freeze for DeltaCompressStream<'a, T, B>
impl<'a, T, B> RefUnwindSafe for DeltaCompressStream<'a, T, B>where
T: RefUnwindSafe,
B: RefUnwindSafe,
impl<'a, T, B> Send for DeltaCompressStream<'a, T, B>
impl<'a, T, B> Sync for DeltaCompressStream<'a, T, B>
impl<'a, T, B> Unpin for DeltaCompressStream<'a, T, B>
impl<'a, T, B> !UnwindSafe for DeltaCompressStream<'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