Struct oxygengine_user_interface::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, pub fn unwrap(
self
) -> (Vec<Box<dyn FnMut(WidgetMountOrChangeContext<'_, '_>) + Sync + Send + 'static, Global>, Global>, Vec<Box<dyn FnMut(WidgetMountOrChangeContext<'_, '_>) + Sync + Send + 'static, Global>, Global>, Vec<Box<dyn FnMut(WidgetUnmountContext<'_, '_>) + Sync + Send + 'static, Global>, Global>)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