nitron 0.1.1

Create native UIs in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
use nitron::prelude::*;

#[widget]
fn TestWidget(a: i32, b: bool, #[builder(default)] c: bool) -> () {}

fn test_thing() {
    TestWidget::construct_widget(TestWidget::builder().a(1).b(false).build())
}

// Trust in the Lord with all your heart, and do not lean on your own understanding. In all your ways acknowledge him, and he will make straight your paths. - Proverbs 3:5-6