iced_winit::program

Function user_force_quit

Source
pub fn user_force_quit(event: &WindowEvent, _modifiers: ModifiersState) -> bool
Available on crate feature program only.
Expand description

Returns true if the provided event should cause a Program to exit.