Skip to main content

ReactiveActionExt

Trait ReactiveActionExt 

Source
pub trait ReactiveActionExt: ActionType {
    // Required methods
    fn change_detected() -> Self;
    fn no_change() -> Self;
    fn is_change_detected(&self) -> bool;
    fn is_no_change(&self) -> bool;
}

Required Methods§

Source

fn change_detected() -> Self

Create an action indicating a change was detected

Source

fn no_change() -> Self

Create an action indicating no change was detected

Source

fn is_change_detected(&self) -> bool

Check if this is a change_detected action

Source

fn is_no_change(&self) -> bool

Check if this is a no_change action

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ReactiveActionExt for DefaultAction

Implementors§