pub trait IsEquiv {
// Required method
fn is_equiv(&self, other: &Self) -> bool;
}
Expand description
Essentially the same as PartialEq
.
Exists to check equaility on some foreign types.
Required Methods§
Sourcefn is_equiv(&self, other: &Self) -> bool
fn is_equiv(&self, other: &Self) -> bool
See PartialEq::eq
.
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.