Trait miden_crypto::utils::collections::Diff
source · pub trait Diff<K: Ord + Clone, V: Clone> {
type DiffType;
// Required method
fn diff(&self, other: &Self) -> Self::DiffType;
}
Expand description
A trait for computing the difference between two objects.
Required Associated Types§
Required Methods§
sourcefn diff(&self, other: &Self) -> Self::DiffType
fn diff(&self, other: &Self) -> Self::DiffType
Returns a Self::DiffType object that represents the difference between this object and other.
Object Safety§
This trait is not object safe.