pub struct WidgetLifeCycle { /* private fields */ }
Implementations§
source§impl WidgetLifeCycle
impl WidgetLifeCycle
pub fn mount<F>(&mut self, f: F)
pub fn change<F>(&mut self, f: F)
pub fn unmount<F>(&mut self, f: F)
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>>)
Trait Implementations§
source§impl Default for WidgetLifeCycle
impl Default for WidgetLifeCycle
source§fn default() -> WidgetLifeCycle
fn default() -> WidgetLifeCycle
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WidgetLifeCycle
impl !RefUnwindSafe for WidgetLifeCycle
impl Send for WidgetLifeCycle
impl Sync for WidgetLifeCycle
impl Unpin for WidgetLifeCycle
impl !UnwindSafe for WidgetLifeCycle
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more