pub struct InputWrapper<'a> {
    slice: &'a [u8],
}Expand description
A wrapper for the output slice used when decompressing.
Using this rather than Cursor lets us implement the writing methods directly on
the buffer and lets us use a usize rather than u64 for the position which helps with
performance on 32-bit systems.
Fields§
§slice: &'a [u8]Implementations§
Source§impl<'a> InputWrapper<'a>
 
impl<'a> InputWrapper<'a>
Trait Implementations§
Source§impl<'a> Clone for InputWrapper<'a>
 
impl<'a> Clone for InputWrapper<'a>
Source§fn clone(&self) -> InputWrapper<'a>
 
fn clone(&self) -> InputWrapper<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreimpl<'a> Copy for InputWrapper<'a>
Auto Trait Implementations§
impl<'a> Freeze for InputWrapper<'a>
impl<'a> RefUnwindSafe for InputWrapper<'a>
impl<'a> Send for InputWrapper<'a>
impl<'a> Sync for InputWrapper<'a>
impl<'a> Unpin for InputWrapper<'a>
impl<'a> UnwindSafe for InputWrapper<'a>
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