Trait squark::App [−][src]
pub trait App: 'static + Clone + Default { type State: Clone + Debug + PartialEq + 'static; type Action: Clone + Debug + 'static; fn reducer(&self, state: Self::State, action: Self::Action) -> Self::State; fn view(&self, state: Self::State) -> View<Self::Action>; }