Trait GUI
widgetry
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) { ... } }
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)