Trait squark::App[][src]

pub trait App: 'static + Clone {
    type State: Clone + Debug + PartialEq + 'static;
    type Action: Clone + Debug + 'static;
    fn reducer(state: Self::State, action: Self::Action) -> Self::State;
fn view(state: Self::State) -> View<Self::Action>; }

Associated Types

Required Methods

Implementors