Trait relm::UpdateNew

source ·
pub trait UpdateNew: Update {
    // Required method
    fn new(_relm: &Relm<Self>, _model: Self::Model) -> Self;
}
Expand description

Trait for an Update object that can be created directly. This is useful for non-widget component.

Required Methods§

source

fn new(_relm: &Relm<Self>, _model: Self::Model) -> Self

Create a new component.

Implementors§