MCPcopy 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

1817impl Borrow<PyObject> for PyObjectRef {
1818 #[inline(always)]
1819 fn borrow(&self) -> &PyObject {
1820 self
1821 }
1822}
1823
1824impl AsRef<PyObject> for PyObjectRef {

Callers 1

as_refMethod · 0.45

Calls 1

as_objectMethod · 0.45

Tested by

no test coverage detected