Engine structure

This commit is contained in:
2026-01-28 10:27:18 +01:00
parent 665b502a09
commit 011b1ab963
6 changed files with 178 additions and 93 deletions
+15
View File
@@ -0,0 +1,15 @@
use std::sync::Arc;
use osui::prelude::*;
pub fn main() {
let engine = Benchmark::new(Console::new());
engine.run(app);
}
fn app(cx: &Arc<Context>) -> View {
rsx! {
"Hello, world!"
}
.view(cx.clone())
}