Enum im::ordmap::DiffItem[][src]

pub enum DiffItem<'a, A: 'a> {
    Add(&'a A),
    Update {
        old: &'a A,
        new: &'a A,
    },
    Remove(&'a A),
}

Variants

Fields of Update

Trait Implementations

impl<'a, A: PartialEq + 'a> PartialEq for DiffItem<'a, A>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a, A: Eq + 'a> Eq for DiffItem<'a, A>
[src]

Auto Trait Implementations

impl<'a, A> Send for DiffItem<'a, A> where
    A: Sync

impl<'a, A> Sync for DiffItem<'a, A> where
    A: Sync