iced_runtime

Function exit

Source
pub fn exit<T>() -> Task<T>
Expand description

Creates a Task that exits the iced runtime.

This will normally close any application windows and terminate the runtime loop.