(&mut self, vm: &mut Vm, snapshot: &Box<dyn Any>)
| 212 | } |
| 213 | |
| 214 | fn restore_local(&mut self, vm: &mut Vm, snapshot: &Box<dyn Any>) { |
| 215 | let snapshot = snapshot.as_ref().downcast_ref::<EdgeCountSnapshot>().unwrap(); |
| 216 | vm.cpu.trace[self.storage].data_mut().copy_from_slice(snapshot); |
| 217 | } |
| 218 | } |
| 219 | |
| 220 | #[derive(Debug, Copy, Clone)] |
no test coverage detected