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

Method with_dump

crates/compiler-core/src/marshal.rs:734–736  ·  view source on GitHub ↗
(&self, f: impl FnOnce(DumpableValue<'_, Self>) -> R)

Source from the content-addressed store, hash-verified

732
733 #[inline(always)]
734 fn with_dump<R>(&self, f: impl FnOnce(DumpableValue<'_, Self>) -> R) -> Result<R, Self::Error> {
735 Ok(f(self.borrow_constant().into()))
736 }
737}
738
739pub trait Write {

Callers 1

serialize_valueFunction · 0.45

Calls 2

fFunction · 0.50
borrow_constantMethod · 0.45

Tested by

no test coverage detected