Trait cushy::widget::MakeWidgetList
source · pub trait MakeWidgetList: Sized {
// Required method
fn make_widget_list(self) -> WidgetList;
// Provided method
fn and<W>(self, widget: W) -> WidgetList
where W: MakeWidget { ... }
}
Expand description
Required Methods§
sourcefn make_widget_list(self) -> WidgetList
fn make_widget_list(self) -> WidgetList
Returns self as a WidgetList
.
Provided Methods§
sourcefn and<W>(self, widget: W) -> WidgetListwhere
W: MakeWidget,
fn and<W>(self, widget: W) -> WidgetListwhere
W: MakeWidget,
Adds widget
to self and returns the updated list.
Object Safety§
This trait is not object safe.