pub enum DiffHunk<'input> {
Matching(&'input [u8]),
Different(Vec<&'input [u8]>),
}
Variants§
Trait Implementations§
source§impl<'input> PartialEq for DiffHunk<'input>
impl<'input> PartialEq for DiffHunk<'input>
impl<'input> Eq for DiffHunk<'input>
impl<'input> StructuralPartialEq for DiffHunk<'input>
Auto Trait Implementations§
impl<'input> RefUnwindSafe for DiffHunk<'input>
impl<'input> Send for DiffHunk<'input>
impl<'input> Sync for DiffHunk<'input>
impl<'input> Unpin for DiffHunk<'input>
impl<'input> UnwindSafe for DiffHunk<'input>
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more