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

Method borrow_vars

crates/stdlib/src/contextvars.rs:82–84  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

80 }
81
82 fn borrow_vars(&self) -> impl core::ops::Deref<Target = Hamt> + '_ {
83 self.inner.vars.hamt.borrow()
84 }
85
86 fn borrow_vars_mut(&self) -> impl core::ops::DerefMut<Target = Hamt> + '_ {
87 self.inner.vars.hamt.borrow_mut()

Callers 10

containsMethod · 0.80
get_innerMethod · 0.80
__getitem__Method · 0.80
__len__Method · 0.80
keysMethod · 0.80
valuesMethod · 0.80
itemsMethod · 0.80
iterMethod · 0.80
getMethod · 0.80
setMethod · 0.80

Calls 1

borrowMethod · 0.45

Tested by

no test coverage detected