pub struct DiffContext {
pub window_start: usize,
pub input_window: Vec<u8>,
pub output_window: Vec<u8>,
}Expand description
16-byte windows of input vs rebuilt bytes around the first divergence, with the divergence offset highlighted.
Fields§
§window_start: usize§input_window: Vec<u8>§output_window: Vec<u8>Trait Implementations§
Source§impl Clone for DiffContext
impl Clone for DiffContext
Source§fn clone(&self) -> DiffContext
fn clone(&self) -> DiffContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DiffContext
impl RefUnwindSafe for DiffContext
impl Send for DiffContext
impl Sync for DiffContext
impl Unpin for DiffContext
impl UnsafeUnpin for DiffContext
impl UnwindSafe for DiffContext
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