pub trait ShouldRender: 'static {
    // Required method
    fn should_render(self) -> bool;
}
Expand description

Describes whether or not a component should be rendered after state changes. For uses see:

Required Methods§

Implementations on Foreign Types§

source§

impl ShouldRender for ()

Closures without return type always update their view.

Implementors§