Trait agui::widget::WidgetBuilder[][src]

pub trait WidgetBuilder: Downcast {
    fn build(&self, ctx: &WidgetContext<'_>) -> BuildResult;
}
Expand description

Implements the widget’s build() method.

Required methods

Called whenever this widget is rebuilt.

This method may be called when any parent is rebuilt, when its internal state changes, when global state changes, when a computed function changes, or just because it feels like it. Hence, it should not be relied on for any reason other than to return child widgets.

Implementors