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

Method borrow

crates/vm/src/protocol/iter.rs:89–91  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

87{
88 #[inline(always)]
89 fn borrow(&self) -> &PyObject {
90 self.0.borrow()
91 }
92}
93
94impl<O> AsRef<PyObject> for PyIter<O>

Callers 7

traverseMethod · 0.45
nextMethod · 0.45
iterMethod · 0.45
iter_without_hintMethod · 0.45
as_refMethod · 0.45
derefMethod · 0.45
_trace_event_innerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected