DualDiff

Trait DualDiff 

Source
pub trait DualDiff {
    // Required method
    fn diff(&self, new_value: &Self) -> ChangeFlag;
}

Required Methods§

Source

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.

Implementors§

Source§

impl<S, C> DualDiff for MetadataStoreObject<S, C>
where S: Spec, C: MetadataItem + PartialEq,