pub enum LifecyclePhase {
Created,
Mounting,
Mounted,
BeforeUpdate,
Updating,
BeforeUnmount,
Unmounting,
Unmounted,
}
Expand description
Lifecycle phase of a component
Variants§
Created
Component is created but not yet mounted
Mounting
Component is being mounted
Mounted
Component is fully mounted and operational
BeforeUpdate
Component is about to be updated
Updating
Component is updating
BeforeUnmount
Component is about to be unmounted
Unmounting
Component is being unmounted
Unmounted
Component is unmounted and inactive
Trait Implementations§
Source§impl Clone for LifecyclePhase
impl Clone for LifecyclePhase
Source§fn clone(&self) -> LifecyclePhase
fn clone(&self) -> LifecyclePhase
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LifecyclePhase
impl Debug for LifecyclePhase
Source§impl Hash for LifecyclePhase
impl Hash for LifecyclePhase
Source§impl PartialEq for LifecyclePhase
impl PartialEq for LifecyclePhase
impl Copy for LifecyclePhase
impl Eq for LifecyclePhase
impl StructuralPartialEq for LifecyclePhase
Auto Trait Implementations§
impl Freeze for LifecyclePhase
impl RefUnwindSafe for LifecyclePhase
impl Send for LifecyclePhase
impl Sync for LifecyclePhase
impl Unpin for LifecyclePhase
impl UnwindSafe for LifecyclePhase
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Event for T
impl<T> Event for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to Any for downcasting (mutable)
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Get the event type name
Source§impl<T> Props for T
impl<T> Props for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to mutable Any for downcasting