Function dunge::update_with_state
source ยท pub fn update_with_state<S, U, F, D>(
state: S,
upd: U,
draw: D,
) -> impl Update<Flow = F, Event = ()>
Expand description
Same as update
but with
a state shared between two handlers.