[][src]Trait widgetry::runner::GUI

pub trait GUI {
    fn event(&mut self, ctx: &mut EventCtx);
fn draw(&self, g: &mut GfxCtx); fn dump_before_abort(&self, _canvas: &Canvas) { ... }
fn before_quit(&self, _canvas: &Canvas) { ... } }

Required methods

fn event(&mut self, ctx: &mut EventCtx)

fn draw(&self, g: &mut GfxCtx)

Loading content...

Provided methods

fn dump_before_abort(&self, _canvas: &Canvas)

fn before_quit(&self, _canvas: &Canvas)

Loading content...

Implementors

Loading content...