[][src]Trait relm_state::UpdateNew

pub trait UpdateNew: Update {
    fn new(_relm: &Relm<Self>, _model: Self::Model) -> Self;
}

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

Required methods

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

Create a new component.

Loading content...

Implementors

Loading content...