Overrides the default storage subsystem with the given one.
(mut self, storage: Rc<RefCell<storage::Storage>>)
| 468 | |
| 469 | /// Overrides the default storage subsystem with the given one. |
| 470 | pub fn with_storage(mut self, storage: Rc<RefCell<storage::Storage>>) -> Self { |
| 471 | self.storage = Some(storage); |
| 472 | self |
| 473 | } |
| 474 | |
| 475 | /// Builds the interpreter. |
| 476 | pub fn build(mut self) -> Machine { |
no outgoing calls