pub enum DiffComponent<T> {
Insertion(T),
Unchanged(T, T),
Deletion(T),
}
Variants§
Trait Implementations§
Source§impl<T: Debug> Debug for DiffComponent<T>
impl<T: Debug> Debug for DiffComponent<T>
Source§impl<T: PartialEq> PartialEq for DiffComponent<T>
impl<T: PartialEq> PartialEq for DiffComponent<T>
impl<T: Eq> Eq for DiffComponent<T>
impl<T> StructuralPartialEq for DiffComponent<T>
Auto Trait Implementations§
impl<T> Freeze for DiffComponent<T>where
T: Freeze,
impl<T> RefUnwindSafe for DiffComponent<T>where
T: RefUnwindSafe,
impl<T> Send for DiffComponent<T>where
T: Send,
impl<T> Sync for DiffComponent<T>where
T: Sync,
impl<T> Unpin for DiffComponent<T>where
T: Unpin,
impl<T> UnwindSafe for DiffComponent<T>where
T: UnwindSafe,
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