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

Method visit_f64

crates/vm/src/py_serde.rs:160–165  ·  view source on GitHub ↗
(self, value: f64)

Source from the content-addressed store, hash-verified

158 }
159
160 fn visit_f64<E>(self, value: f64) -> Result<Self::Value, E>
161 where
162 E: serde::de::Error,
163 {
164 Ok(self.vm.ctx.new_float(value).into())
165 }
166
167 fn visit_str<E>(self, value: &str) -> Result<Self::Value, E>
168 where

Callers

nothing calls this directly

Calls 1

new_floatMethod · 0.45

Tested by

no test coverage detected