//! Unique state shared application-wide
usestd::rc::Rc;pubuseyewdux_macros::Store;/// Globally shared state.
pubtraitStore: 'static {/// Create this store.
fnnew()->Self;/// Indicate whether or not subscribers should be notified about this change. Usually this
/// should be set to `self != old`.
fnshould_notify(&self, old:&Self)->bool;}/// A type that can change state.
pubtraitReducer<S> {/// Mutate state.
fnapply(&self, state:Rc<S>)->Rc<S>;}