MCPcopy Create free account
hub / github.com/LEXUGE/dcompass / eq

Method eq

droute/src/cache.rs:58–60  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

56
57impl<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
63impl<A: Eq + ?Sized, B: Eq + ?Sized> Eq for (dyn KeyPair<A, B> + '_) {}

Callers

nothing calls this directly

Calls 2

aMethod · 0.80
bMethod · 0.80

Tested by

no test coverage detected