macro_rules! impl_eq_ord_hash_arc_address { ($type:ty => $($access:tt)*) => { ... }; }
Expand description
Implements PartialEq, Eq, PartialOrd, Ord, and Hash for a type by comparing the addresses of the Arcs.
ⓘ
impl_eq_ord_hash_arc_address!(MyType => .field);