Overrides the default terminal-based console with the given one.
(mut self, console: Rc<RefCell<dyn console::Console>>)
| 320 | |
| 321 | /// Overrides the default terminal-based console with the given one. |
| 322 | pub fn with_console(mut self, console: Rc<RefCell<dyn console::Console>>) -> Self { |
| 323 | self.console = Some(console); |
| 324 | self |
| 325 | } |
| 326 | |
| 327 | /// Overrides the default date and time implementation with the given one. |
| 328 | pub fn with_datetime(mut self, datetime: Rc<dyn datetime::DateTime>) -> Self { |
no outgoing calls