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§

source

fn reflect_eq(&self, that: &Self, mode: &ReflectEqMode) -> bool

Perform the equality comparison.

Object Safety§

This trait is not object safe.

Implementors§