pub enum InvalidationCause {
None,
CommonRootUpdate(WidgetIdCommon),
}
Expand description
Indicates the reason that an Application
state was invalidated and had to be re-rendered
You can get the last invalidation cause of an application using last_invalidation_cause
Variants§
None
Application not invalidated
CommonRootUpdate(WidgetIdCommon)
Application update caused by change in widgets common root.
Trait Implementations§
source§impl Clone for InvalidationCause
impl Clone for InvalidationCause
source§fn clone(&self) -> InvalidationCause
fn clone(&self) -> InvalidationCause
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 InvalidationCause
impl Debug for InvalidationCause
source§impl Default for InvalidationCause
impl Default for InvalidationCause
source§fn default() -> InvalidationCause
fn default() -> InvalidationCause
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InvalidationCause
impl RefUnwindSafe for InvalidationCause
impl Send for InvalidationCause
impl Sync for InvalidationCause
impl Unpin for InvalidationCause
impl UnwindSafe for InvalidationCause
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)