comparable 0.5.6

A library for comparing data structures in Rust, oriented toward testing
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::types::{Changed, Comparable};

impl<T> Comparable for std::iter::Empty<T> {
	type Desc = ();

	fn describe(&self) -> Self::Desc {}

	type Change = ();

	fn comparison(&self, _other: &Self) -> Changed<Self::Change> {
		Changed::Unchanged
	}
}