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

Method clone_mapping

crates/vm/src/frame.rs:532–534  ·  view source on GitHub ↗
(&self, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

530
531 #[inline]
532 pub fn clone_mapping(&self, vm: &VirtualMachine) -> ArgMapping {
533 self.get_or_create(vm).clone()
534 }
535
536 pub fn into_object(&self, vm: &VirtualMachine) -> PyObjectRef {
537 self.clone_mapping(vm).into()

Callers 3

into_objectMethod · 0.80
localsMethod · 0.80
import_innerMethod · 0.80

Calls 2

get_or_createMethod · 0.80
cloneMethod · 0.45

Tested by

no test coverage detected