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