pub trait Equivalent<K>where
K: ?Sized,{
// Required method
fn equivalent(&self, key: &K) -> bool;
}Expand description
Required Methods§
Sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if self is equivalent to key.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".