[][src]Struct seed::browser::dom::lifecycle_hooks::LifecycleHooks

pub struct LifecycleHooks<Ms> {
    pub did_mount: Option<DidMount<Ms>>,
    pub did_update: Option<DidUpdate<Ms>>,
    pub will_unmount: Option<WillUnmount<Ms>>,
}

Fields

did_mount: Option<DidMount<Ms>>did_update: Option<DidUpdate<Ms>>will_unmount: Option<WillUnmount<Ms>>

Methods

impl<Ms> LifecycleHooks<Ms>[src]

pub const fn new() -> Self[src]

Trait Implementations

impl<Ms> Debug for LifecycleHooks<Ms>[src]

impl<Ms: 'static, OtherMs: 'static> MessageMapper<Ms, OtherMs> for LifecycleHooks<Ms>[src]

type SelfWithOtherMs = LifecycleHooks<OtherMs>

Auto Trait Implementations

impl<Ms> !RefUnwindSafe for LifecycleHooks<Ms>

impl<Ms> !Send for LifecycleHooks<Ms>

impl<Ms> !Sync for LifecycleHooks<Ms>

impl<Ms> Unpin for LifecycleHooks<Ms> where
    Ms: Unpin

impl<Ms> !UnwindSafe for LifecycleHooks<Ms>

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.