pub enum DiffResult<T: PartialEq + Clone> {
Removed(DiffElement<T>),
Common(DiffElement<T>),
Added(DiffElement<T>),
}Variants§
Trait Implementations§
impl<T: PartialEq + PartialEq + Clone> StructuralPartialEq for DiffResult<T>
Auto Trait Implementations§
impl<T> Freeze for DiffResult<T>where
DiffElement<T>: Freeze,
impl<T> RefUnwindSafe for DiffResult<T>where
DiffElement<T>: RefUnwindSafe,
impl<T> Send for DiffResult<T>where
DiffElement<T>: Send,
impl<T> Sync for DiffResult<T>where
DiffElement<T>: Sync,
impl<T> Unpin for DiffResult<T>where
DiffElement<T>: Unpin,
impl<T> UnsafeUnpin for DiffResult<T>where
DiffElement<T>: UnsafeUnpin,
impl<T> UnwindSafe for DiffResult<T>where
DiffElement<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