Enum incremental_map::DiffElement
source · pub enum DiffElement<V> {
Unequal(V, V),
Left(V),
Right(V),
}
Variants§
Implementations§
Trait Implementations§
source§impl<V: Debug> Debug for DiffElement<V>
impl<V: Debug> Debug for DiffElement<V>
source§impl<V: PartialEq> PartialEq<DiffElement<V>> for DiffElement<V>
impl<V: PartialEq> PartialEq<DiffElement<V>> for DiffElement<V>
source§fn eq(&self, other: &DiffElement<V>) -> bool
fn eq(&self, other: &DiffElement<V>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<V: Eq> Eq for DiffElement<V>
impl<V> StructuralEq for DiffElement<V>
impl<V> StructuralPartialEq for DiffElement<V>
Auto Trait Implementations§
impl<V> RefUnwindSafe for DiffElement<V>where V: RefUnwindSafe,
impl<V> Send for DiffElement<V>where V: Send,
impl<V> Sync for DiffElement<V>where V: Sync,
impl<V> Unpin for DiffElement<V>where V: Unpin,
impl<V> UnwindSafe for DiffElement<V>where V: 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