Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ borrow
Method
borrow
crates/vm/src/object/core.rs:1819–1821 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
1817
impl Borrow<PyObject> for PyObjectRef {
1818
#[inline(always)]
1819
fn borrow(&self) -> &PyObject {
1820
self
1821
}
1822
}
1823
1824
impl AsRef<PyObject> for PyObjectRef {
Callers
1
as_ref
Method · 0.45
Calls
1
as_object
Method · 0.45
Tested by
no test coverage detected