pub trait PartialEqIs<Rhs: PointeeSized = Self>: PartialEq<Rhs> + PointeeSized {
// Required methods
spec fn is_eq(&self, other: &Rhs) -> bool;
spec fn is_ne(&self, other: &Rhs) -> bool;
}Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".