MCPcopy Create free account
hub / github.com/chc4/lineiform / eq

Method eq

tangle/src/select.rs:130–132  ·  view source on GitHub ↗
(&self, other: &RefEquality<Rc<T>>)

Source from the content-addressed store, hash-verified

128
129impl<T: ?Sized> PartialEq<RefEquality<Rc<T>>> for RefEquality<Rc<T>> {
130 fn eq(&self, other: &RefEquality<Rc<T>>) -> bool {
131 self.0.as_ref() as *const T == other.0.as_ref() as *const T
132 }
133}
134
135impl<'a, 'b, T: ?Sized> PartialEq<RefEquality<&'b T>> for RefEquality<&'a T> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected