(&mut self, snapshot: &Box<dyn std::any::Any>)
| 183 | } |
| 184 | |
| 185 | fn restore(&mut self, snapshot: &Box<dyn std::any::Any>) { |
| 186 | let (passthrough, source) = |
| 187 | snapshot.downcast_ref::<(Vec<u32>, Box<dyn std::any::Any>)>().unwrap(); |
| 188 | self.passthrough.clone_from(passthrough); |
| 189 | self.source.restore(source) |
| 190 | } |
| 191 | } |
| 192 | |
| 193 | /// Represents an input source where every MMIO access is read from a global input stream. |
nothing calls this directly
no test coverage detected