Function seed::run

source ·
pub fn run<Ms, Mdl>(
    model: Mdl,
    update: fn(_: Ms, _: Mdl) -> Mdl,
    view: fn(_: Mdl) -> El<Ms>,
    mount_point_id: &str
)where
    Ms: Clone + Sized + 'static,
    Mdl: Clone + Sized + 'static,
Expand description

The entry point for the app