(self, value: f64)
| 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 |