Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ unique_id
Method
unique_id
crates/vm/src/object/ext.rs:590–592 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
588
impl PyObject {
589
#[inline(always)]
590
fn unique_id(&self) -> usize {
591
self as *const Self as usize
592
}
593
}
594
595
// impl<T: ?Sized> Borrow<PyObject> for PyRc<T> {
Callers
1
get_id
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected