pub trait WidgetId<W>where W: WidgetExt,{ // Required methods fn set_id(&mut self, id: &str); fn with_id(self, id: &str) -> Self where Self: Sized; }
Allows setting a an id to a widget
Set the widget’s Id
Construct a widget with an Id