pub trait DeduplicatableContents {
// Required method
fn is_duplicate_of(&self, other: &Self) -> bool;
}Expand description
Node contents which can be meaningfully deduplicated.
Deduplication must be symmetric: a.is_duplicate_of(b) implies b.is_duplicate_of(a).
Required Methods§
Sourcefn is_duplicate_of(&self, other: &Self) -> bool
fn is_duplicate_of(&self, other: &Self) -> bool
Tests if self and other should be considered duplicates of each other.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".