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

Method deref

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

Source from the content-addressed store, hash-verified

77
78 #[inline(always)]
79 fn deref(&self) -> &Py<T> {
80 &self.inner
81 }
82}
83
84impl<T: PyPayload> Borrow<PyObject> for PyExact<T> {

Callers

nothing calls this directly

Calls 3

deref_orderingMethod · 0.80
as_refMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected