Function ggez::context::quit

source ·
pub fn quit(ctx: &mut Context)
👎Deprecated since 0.8.0: Use ctx.request_quit instead.
Expand description

Terminates the ggez::event::run() loop without requesting a quit_event. Context.continuing is set to false and the loop breaks.