pub trait BoxedWidget: Widget { fn boxed<'a>(self) -> Box<dyn Widget + 'a, Global> where Self: 'a; }
Convenience method used to type erase and box a widget.