pub trait StateDiff<'a, 'b> {
// Required method
fn diff(&self) -> StateDiffReport<'a, 'b>;
}Expand description
An interface to compare the state of two objects.
Required Methods§
Sourcefn diff(&self) -> StateDiffReport<'a, 'b>
fn diff(&self) -> StateDiffReport<'a, 'b>
Returns a StateDiffReport for two objects.