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

Method _to_owned

crates/vm/src/dict_inner.rs:846–848  ·  view source on GitHub ↗
(&self, _vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

844 type Owned = PyObjectRef;
845 #[inline(always)]
846 fn _to_owned(&self, _vm: &VirtualMachine) -> Self::Owned {
847 self.to_owned()
848 }
849
850 #[inline(always)]
851 fn key_hash(&self, vm: &VirtualMachine) -> PyResult<HashValue> {

Callers 1

to_pyobjectMethod · 0.80

Calls 3

to_exactMethod · 0.80
to_ownedMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected