(&self, other: &Self)
| 56 | |
| 57 | impl<A: Eq + ?Sized, B: Eq + ?Sized> PartialEq for (dyn KeyPair<A, B> + '_) { |
| 58 | fn eq(&self, other: &Self) -> bool { |
| 59 | self.a() == other.a() && self.b() == other.b() |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | impl<A: Eq + ?Sized, B: Eq + ?Sized> Eq for (dyn KeyPair<A, B> + '_) {} |