MCPcopy Index your code
hub / github.com/RustPython/RustPython / borrow

Method borrow

crates/vm/src/object/ext.rs:86–88  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

84impl<T: PyPayload> Borrow<PyObject> for PyExact<T> {
85 #[inline(always)]
86 fn borrow(&self) -> &PyObject {
87 self.inner.borrow()
88 }
89}
90
91impl<T: PyPayload> AsRef<PyObject> for PyExact<T> {

Callers 15

_cls_isMethod · 0.45
getprofileFunction · 0.45
_getframeFunction · 0.45
_getframemodulenameFunction · 0.45
gettraceFunction · 0.45
update_use_tracingFunction · 0.45
get_asyncgen_hooksFunction · 0.45
update_code_filenamesFunction · 0.45
get_referrersFunction · 0.45
getsignalFunction · 0.45
update_events_maskFunction · 0.45

Calls 1

as_refMethod · 0.45

Tested by

no test coverage detected