MCPcopy Index your code
hub / github.com/endbasic/endbasic / build

Method build

cli/src/console.rs:36–40  ·  view source on GitHub ↗
(self: Box<Self>)

Source from the content-addressed store, hash-verified

34impl 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>>> {

Callers 5

newMethod · 0.45
new_machine_builderFunction · 0.45
run_repl_loopFunction · 0.45
run_scriptFunction · 0.45
run_interactiveFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected