Struct raui_core::widget::WidgetLifeCycle [−][src]
pub struct WidgetLifeCycle { /* fields omitted */ }Implementations
pub fn mount<F>(&mut self, f: F) where
F: 'static + FnMut(WidgetMountOrChangeContext<'_, '_>) + Send + Sync, pub fn change<F>(&mut self, f: F) where
F: 'static + FnMut(WidgetMountOrChangeContext<'_, '_>) + Send + Sync, pub fn unmount<F>(&mut self, f: F) where
F: 'static + FnMut(WidgetUnmountContext<'_, '_>) + Send + Sync, Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl !RefUnwindSafe for WidgetLifeCycleimpl Send for WidgetLifeCycleimpl Sync for WidgetLifeCycleimpl Unpin for WidgetLifeCycleimpl !UnwindSafe for WidgetLifeCycle