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

Method values

crates/vm/src/dict_inner.rs:633–639  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

631 }
632
633 pub fn values(&self) -> Vec<T> {
634 self.read()
635 .entries
636 .iter()
637 .filter_map(|v| v.as_ref().map(|v| v.value.clone()))
638 .collect()
639 }
640
641 pub fn items(&self) -> Vec<(PyObjectRef, T)> {
642 self.read()

Callers 3

object_entriesFunction · 0.45
js_to_pyFunction · 0.45
find_doc_entriesFunction · 0.45

Calls 6

collectMethod · 0.80
iterMethod · 0.45
readMethod · 0.45
mapMethod · 0.45
as_refMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected