relm-derive 0.24.0

Custom derive required by the relm crate.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![allow(unused_imports)]

use relm::Widget;
use relm_derive::widget;

#[widget]
impl Widget for Foo {
    fn model() {}

    fn update(&mut self, _: ()) {}

    view! {}
}

fn main() {}