macro_rules! impl_eq_hash {
($ty: ident; $($member: ident),*) => { ... };
}
Expand description
Recursively implement PartialEq
, Eq
and std::hash::Hash
using selected members of a given type. The type must have a getter
method for each selected member.