Function cedar::program [] [src]

pub fn program<S, M>(
    model: M,
    update: fn(_: M, _: S) -> M,
    view: fn(_: &M) -> Object<S>
) where
    S: Clone + Send + 'static + PartialEq + Debug,
    M: Send + 'static + Debug