Enum oxygengine_user_interface::raui::core::application::InvalidationCause [−][src]
pub enum InvalidationCause { None, Forced, StateChange(WidgetId), MessageReceived(WidgetId), AnimationInProgress(WidgetId), }
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
Application not invalidated
Application update was forced by calling mark_dirty
StateChange(WidgetId)
A widget’s state changed
MessageReceived(WidgetId)
A message was sent to a widget
AnimationInProgress(WidgetId)
An animation is in progress for a widget
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for InvalidationCause
impl Send for InvalidationCause
impl Sync for InvalidationCause
impl Unpin for InvalidationCause
impl UnwindSafe for InvalidationCause
Blanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any,
pub fn get_type_id(&self) -> TypeId
Mutably borrows from an owned value. Read more
impl<T> TryDefault for T where
T: Default,
impl<T> TryDefault for T where
T: Default,
pub fn try_default() -> Result<T, String>
pub fn try_default() -> Result<T, String>
Tries to create the default.
fn unwrap_default() -> Self
fn unwrap_default() -> Self
Calls try_default
and panics on an error case.