Files
osui/examples/simple_benchmark.rs
T

16 lines
240 B
Rust

use std::sync::Arc;
use osui::prelude::*;
pub fn main() {
let engine = SimpleBenchmark::new(Console::new());
engine.run(app);
}
fn app(cx: &Arc<Context>) -> View {
rsx! {
"Hello, world!"
}
.view(cx.clone())
}