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.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".