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

Method deref

crates/vm/src/object/core.rs:1145–1147  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1143impl<T: PyPayload> core::ops::Deref for FreeList<T> {
1144 type Target = Vec<*mut PyObject>;
1145 fn deref(&self) -> &Self::Target {
1146 &self.items
1147 }
1148}
1149
1150impl<T: PyPayload> core::ops::DerefMut for FreeList<T> {

Callers 3

classMethod · 0.45
hashMethod · 0.45
eqMethod · 0.45

Calls 2

as_refMethod · 0.45
as_objectMethod · 0.45

Tested by

no test coverage detected