pub fn exit()
Expand description

Forces the program to exit via winit’s event loop.

If run is not called before this it exits normally.