MCPcopy Create free account
hub / github.com/dgrunwald/rust-cpython / eq

Method eq

src/objects/typeobject.rs:83–85  ·  view source on GitHub ↗
(&self, o: &PyType)

Source from the content-addressed store, hash-verified

81impl PartialEq for PyType {
82 #[inline]
83 fn eq(&self, o: &PyType) -> bool {
84 self.as_type_ptr() == o.as_type_ptr()
85 }
86}
87impl Eq for PyType {}

Callers

nothing calls this directly

Calls 1

as_type_ptrMethod · 0.80

Tested by

no test coverage detected