pub struct FastIn<'a> {}Expand description
The inputs of zstd_fast.
Fields§
§buf: &'a [u8]§base: u64Stream position of buf[0].
from: usize§to: usizeEnd of the block (from <= to <= buf.len()); matches never reach past it.
small: &'a mut [u32]Short-hash table (a power of two entries) over mls (5 to 8) bytes, small_log bits.
small_log: u32§mls: u32§long: &'a mut [u32]Long-hash table over 8 bytes for double fast (long_log > 0, a power of two entries).
long_log: u32§max_dist: usize§rep: [u32; 2]§strength: u32Skip one more byte for every 1 << strength bytes without a match (zstd: 8).
out: &'a mut Vec<Match>Auto Trait Implementations§
impl<'a> !UnwindSafe for FastIn<'a>
impl<'a> Forget for FastIn<'a>
impl<'a> Freeze for FastIn<'a>
impl<'a> Move for FastIn<'a>
impl<'a> RefUnwindSafe for FastIn<'a>
impl<'a> Send for FastIn<'a>
impl<'a> Sync for FastIn<'a>
impl<'a> Unpin for FastIn<'a>
impl<'a> UnsafeUnpin for FastIn<'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