Trait gooey::core::AnyWindowBuilder [−][src]
pub trait AnyWindowBuilder: Any {
fn as_mut_any(&mut self) -> &mut (dyn Any + 'static);
fn configuration(&self) -> WindowConfiguration;
fn build(&mut self, storage: &WidgetStorage) -> WidgetRegistration;
}
Expand description
A WindowBuilder
that has had its widget type parameter erased.
Required methods
fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)
fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)
Casts this value to a mutable Any
reference.
fn configuration(&self) -> WindowConfiguration
fn configuration(&self) -> WindowConfiguration
Returns the window configuration.
fn build(&mut self, storage: &WidgetStorage) -> WidgetRegistration
fn build(&mut self, storage: &WidgetStorage) -> WidgetRegistration
Builds the window’s root content and returns the registration.