Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ as_ref
Method
as_ref
crates/vm/src/object/ext.rs:93–95 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
91
impl<T: PyPayload> AsRef<PyObject> for PyExact<T> {
92
#[inline(always)]
93
fn as_ref(&self) -> &PyObject {
94
self.inner.as_ref()
95
}
96
}
97
98
impl<T: PyPayload> Borrow<Py<T>> for PyExact<T> {
Callers
6
traverse
Method · 0.45
fmt
Method · 0.45
deref
Method · 0.45
deref_ordering
Method · 0.45
swap
Method · 0.45
borrow
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected