Struct oxygengine_user_interface::raui::core::application::ChangeNotifier [−][src]
pub struct ChangeNotifier(_);
Expand description
Allows you to check or indicate that an Application
has changed
A ChangeNotifier
can be obtained from an application with the
change_notifier()
method.
Implementations
Mark the application as having changed, this will force the UI to re-render its components
Check whether or not the application has changed
Get whether the application has changed and atomically set it’s changed state to `false
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ChangeNotifier
impl Send for ChangeNotifier
impl Sync for ChangeNotifier
impl Unpin for ChangeNotifier
impl UnwindSafe for ChangeNotifier
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.