(self: Box<Self>)
| 34 | impl ConsoleFactory for TextConsoleFactory { |
| 35 | #[cfg(feature = "crossterm")] |
| 36 | fn build(self: Box<Self>) -> io::Result<Rc<RefCell<dyn Console>>> { |
| 37 | Ok(Rc::from(RefCell::from(endbasic_terminal::TerminalConsole::from_stdio( |
| 38 | self.signals_tx, |
| 39 | )?))) |
| 40 | } |
| 41 | |
| 42 | #[cfg(not(feature = "crossterm"))] |
| 43 | fn build(self: Box<Self>) -> io::Result<Rc<RefCell<dyn Console>>> { |
no outgoing calls
no test coverage detected