pub enum UnmountReason {
Removed,
ParentUnmounted,
Replaced,
Shutdown,
Error,
}
Expand description
Reasons for component unmounting
Variants§
Removed
Component was explicitly removed
ParentUnmounted
Parent component was unmounted
Replaced
Component replacement
Shutdown
Application shutdown
Error
Error condition
Trait Implementations§
Source§impl Clone for UnmountReason
impl Clone for UnmountReason
Source§fn clone(&self) -> UnmountReason
fn clone(&self) -> UnmountReason
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 UnmountReason
impl Debug for UnmountReason
Source§impl PartialEq for UnmountReason
impl PartialEq for UnmountReason
impl Copy for UnmountReason
impl Eq for UnmountReason
impl StructuralPartialEq for UnmountReason
Auto Trait Implementations§
impl Freeze for UnmountReason
impl RefUnwindSafe for UnmountReason
impl Send for UnmountReason
impl Sync for UnmountReason
impl Unpin for UnmountReason
impl UnwindSafe for UnmountReason
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