use relm4::prelude::*; struct AppModel; #[relm4_macros::component] impl SimpleComponent for AppModel { type Init = (); type Input = (); type Output = (); view! { gtk::Window {} } #[allow(unreachable_code)] fn init( _: (), root: &Self::Root, sender: ComponentSender, ) -> ComponentParts { let model = Self; let widgets = todo!(); ComponentParts { model, widgets } } } fn main() {}