Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algoscienceacademy/RustUI
/ CounterApp
Class
CounterApp
examples/src/counter.rs:3–5 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
use rust_native::*;
2
3
struct CounterApp {
4
view: View,
5
}
6
7
impl CounterApp {
8
fn new() -> Self {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected