pub trait Widget {
type Handle: WidgetHandle;
// Required method
fn text(self) -> Self::Handle;
}Expand description
A persistent message that is only usable for humans, for example a spinner.
Required Associated Types§
Sourcetype Handle: WidgetHandle
type Handle: WidgetHandle
Allows for live interaction with the widget, and its drop is called when the widget should be cleared.