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

Method build

sdl/src/lib.rs:69–72  ·  view source on GitHub ↗
(self: Box<Self>)

Source from the content-addressed store, hash-verified

67
68impl ConsoleFactory for SdlConsoleFactory {
69 fn build(self: Box<Self>) -> io::Result<Rc<RefCell<dyn Console>>> {
70 let console = self.build_console()?;
71 Ok(Rc::from(RefCell::from(console)))
72 }
73}
74
75/// Creates a new SDL console host and a factory for the client.

Callers 1

newMethod · 0.45

Calls 1

build_consoleMethod · 0.80

Tested by

no test coverage detected