zintl 0.0.1-alpha.1

Powerful yet simple GUI toolkit for Rust.
Documentation
use zintl::*;

struct HelloWorld {
    context: Context,
}

impl HelloWorld {
    fn new() -> Self {
        HelloWorld {
            context: Context::default(),
        }
    }
}

impl Composable for HelloWorld {
    fn context(&self) -> &Context {
        &self.context
    }
    fn compose(&mut self) -> impl View {
        Label::new("HelloWorld".to_string())
    }
}

fn main() {
    let app = App::new(HelloWorld::new());

    run_app(app);
}