Trait protobuf::reflect::ReflectEq[][src]

pub trait ReflectEq {
    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

Perform the equality comparison.

Implementors