MCPcopy Create free account
hub / github.com/algoscienceacademy/RustUI / run

Method run

src/lib.rs:108–113  ·  view source on GitHub ↗
(self, app: F)

Source from the content-addressed store, hash-verified

106 }
107
108 pub fn run<F>(self, app: F)
109 where
110 F: FnOnce() -> Box<dyn Application> + 'static
111 {
112 platform::run(self, app);
113 }
114
115 pub fn window(&self) -> &Window {
116 &self.window

Callers 7

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 1

runFunction · 0.85

Tested by

no test coverage detected