pub trait MakeWidgetWithTag: Sized {
// Required method
fn make_with_tag(self, tag: WidgetTag) -> WidgetInstance;
}
Expand description
A type that can create a WidgetInstance
with a preallocated
WidgetId
.
Required Methods§
sourcefn make_with_tag(self, tag: WidgetTag) -> WidgetInstance
fn make_with_tag(self, tag: WidgetTag) -> WidgetInstance
Returns a new WidgetInstance
whose WidgetId
comes from tag
.
Object Safety§
This trait is not object safe.