Skip to main content

NativeWindowEventHandler

Type Alias NativeWindowEventHandler 

Source
pub type NativeWindowEventHandler = dyn Fn(&str, &dyn ActiveEventLoop, Arc<dyn Window>, &WindowEvent) + Send + Sync;
Expand description

Native events for application rendering and input forwarding, on the event-loop thread. Destroyed is delivered before the runtime releases the window, including on exit.