pub trait DualDiff {
// Required method
fn diff(&self, new_value: &Self) -> ChangeFlag;
}Required Methods§
Sourcefn diff(&self, new_value: &Self) -> ChangeFlag
fn diff(&self, new_value: &Self) -> ChangeFlag
check if another is different from myself
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.