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