Trait relm4::WidgetTemplate
source · pub trait WidgetTemplate: Sized + Debug + Deref<Target = Self::Root> {
type Root;
// Required method
fn init() -> Self;
}
Expand description
A trait that describes a widget template.
Widget templates can be created manually by implementing this trait
or by using the widget_template
macro.