[go: up one dir, main page]

zng-app 0.3.3

Part of the zng project.
Documentation
1
2
3
4
5
6
7
8
9
use zng_app_proc_macros::widget;

#[widget($crate::tests::FooA)]
pub struct Foo(crate::widget::base::WidgetBase);
impl Foo {
    pub fn widget_build(&mut self) -> &'static str {
        "a"
    }
}