Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
81
impl PartialEq for PyType {
82
#[inline]
83
fn eq(&self, o: &PyType) -> bool {
84
self.as_type_ptr() == o.as_type_ptr()
85
}
86
}
87
impl Eq for PyType {}
Callers
nothing calls this directly
Calls
1
as_type_ptr
Method · 0.80
Tested by
no test coverage detected