pub trait Ui: Debug {
    fn bounds(&self) -> &Rect;
    fn render(&self, graphics: &mut Graphics<'_>, mouse_xy: Coord);
}

Required Methods§

source

fn bounds(&self) -> &Rect

source

fn render(&self, graphics: &mut Graphics<'_>, mouse_xy: Coord)

Implementors§