pub trait ReflectEq {
// Required method
fn reflect_eq(&self, that: &Self, mode: &ReflectEqMode) -> bool;
}Expand description
Special version of eq.
With mode ReflectEqMode::default(), should be equivalent
to #[derive(PartialEq)].
Required Methods§
Sourcefn reflect_eq(&self, that: &Self, mode: &ReflectEqMode) -> bool
fn reflect_eq(&self, that: &Self, mode: &ReflectEqMode) -> bool
Perform the equality comparison.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".