pub struct Job {
pub start: usize,
pub end: usize,
pub prefix_start: usize,
pub first: bool,
pub last: bool,
}Expand description
One independently compressible slice of a frame’s input: blocks for
src[start..end], which may reference src[prefix_start..start] as history.
Fields§
§start: usizeFirst input byte this job encodes.
end: usizeOne past the last input byte this job encodes.
prefix_start: usizeLowest input byte the job may reference (the overlap with earlier jobs).
first: boolTrue for the first job: it may use the dictionary and its repeat offsets.
last: boolTrue for the last job: its final block is marked last.
Trait Implementations§
impl Copy for Job
impl Eq for Job
impl StructuralPartialEq for Job
Auto Trait Implementations§
impl Freeze for Job
impl RefUnwindSafe for Job
impl Send for Job
impl Sync for Job
impl Unpin for Job
impl UnsafeUnpin for Job
impl UnwindSafe for Job
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