[−][src]Trait visit_diff::SetDiffer
A type that can do something with information about differences in a set-like sequence type, i.e. one in which elements are expected to be unique.
Associated Types
Loading content...Required methods
fn diff_equal<V: ?Sized>(&mut self, a: &V, b: &V) where
V: Diff,
V: Diff,
The sets contain a
and b
which compare as equal. Check them for
differences.
fn only_in_left<V: ?Sized>(&mut self, a: &V) where
V: Diff,
V: Diff,
Value a
is only in the left-hand set.
fn only_in_right<V: ?Sized>(&mut self, b: &V) where
V: Diff,
V: Diff,
Value b
is only in the right-hand set.
fn end(self) -> Result<Self::Ok, Self::Err>
We've reached the end of the sets.
Implementations on Foreign Types
impl SetDiffer for ()
[src]
type Ok = ()
type Err = Void
fn diff_equal<V: ?Sized>(&mut self, _: &V, _: &V) where
V: Diff,
[src]
V: Diff,
fn only_in_left<V: ?Sized>(&mut self, _: &V) where
V: Diff,
[src]
V: Diff,
fn only_in_right<V: ?Sized>(&mut self, _: &V) where
V: Diff,
[src]
V: Diff,