pub enum RebuildCause {
AtomChanged(AtomId),
ParentRebuilt,
PropsChanged,
Manual,
}Expand description
Why a component was scheduled for rebuild by the refresh engine.
Variants§
AtomChanged(AtomId)
A subscribed atom changed.
ParentRebuilt
Parent component was rebuilt, child must follow.
PropsChanged
Component’s own props changed.
Manual
Manually triggered rebuild.
Trait Implementations§
Source§impl Clone for RebuildCause
impl Clone for RebuildCause
Source§fn clone(&self) -> RebuildCause
fn clone(&self) -> RebuildCause
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RebuildCause
impl RefUnwindSafe for RebuildCause
impl Send for RebuildCause
impl Sync for RebuildCause
impl Unpin for RebuildCause
impl UnsafeUnpin for RebuildCause
impl UnwindSafe for RebuildCause
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