Enum im::ordmap::DiffItem [−][src]
pub enum DiffItem<'a, K, V> { Add(&'a K, &'a V), Update { old: (&'a K, &'a V), new: (&'a K, &'a V), }, Remove(&'a K, &'a V), }
A description of a difference between two ordered maps.
Variants
This value has been added to the new map.
This value has been changed between the two maps.
This value has been removed from the new map.
Trait Implementations
impl<'a, K: Debug, V: Debug> Debug for DiffItem<'a, K, V>
[src]
impl<'a, K: Eq, V: Eq> Eq for DiffItem<'a, K, V>
[src]
impl<'a, K: PartialEq, V: PartialEq> PartialEq<DiffItem<'a, K, V>> for DiffItem<'a, K, V>
[src]
fn eq(&self, other: &DiffItem<'a, K, V>) -> bool
[src]
fn ne(&self, other: &DiffItem<'a, K, V>) -> bool
[src]
impl<'a, K, V> StructuralEq for DiffItem<'a, K, V>
[src]
impl<'a, K, V> StructuralPartialEq for DiffItem<'a, K, V>
[src]
Auto Trait Implementations
impl<'a, K, V> RefUnwindSafe for DiffItem<'a, K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, K, V> Send for DiffItem<'a, K, V> where
K: Sync,
V: Sync,
K: Sync,
V: Sync,
impl<'a, K, V> Sync for DiffItem<'a, K, V> where
K: Sync,
V: Sync,
K: Sync,
V: Sync,
impl<'a, K, V> Unpin for DiffItem<'a, K, V>
impl<'a, K, V> UnwindSafe for DiffItem<'a, K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
K: RefUnwindSafe,
V: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,