AppEvent

Type Alias AppEvent 

Source
pub type AppEvent<State> = Box<dyn FnMut(DispatchPair, AccessCell<'_, '_, State>) -> InputResult<()>>;
Expand description

Represents a wrapped lambda that can act as an top-level event handler using the AppState.

Aliased Typeยง

pub struct AppEvent<State>(/* private fields */);