[][src]Trait widgetry::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...