Struct raui::prelude::WidgetLifeCycle[][src]

pub struct WidgetLifeCycle { /* fields omitted */ }

Implementations

impl WidgetLifeCycle[src]

pub fn mount<F>(&mut self, f: F) where
    F: 'static + FnMut(WidgetMountOrChangeContext<'_>) + Send + Sync
[src]

pub fn change<F>(&mut self, f: F) where
    F: 'static + FnMut(WidgetMountOrChangeContext<'_>) + Send + Sync
[src]

pub fn unmount<F>(&mut self, f: F) where
    F: 'static + FnMut(WidgetUnmountContext<'_>) + Send + Sync
[src]

pub fn unwrap(
    self
) -> (Vec<Box<dyn FnMut(WidgetMountOrChangeContext<'_>) + 'static + Sync + Send, Global>, Global>, Vec<Box<dyn FnMut(WidgetMountOrChangeContext<'_>) + 'static + Sync + Send, Global>, Global>, Vec<Box<dyn FnMut(WidgetUnmountContext<'_>) + 'static + Sync + Send, Global>, Global>)
[src]

Trait Implementations

impl Default for WidgetLifeCycle[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.