This commit is contained in:
2025-11-11 13:55:36 -05:00
parent 92db1264a6
commit deaf730901
9 changed files with 87 additions and 3 deletions

View File

@@ -9,6 +9,10 @@ pub trait Widget: Any {
}
}
impl Widget for () {
fn draw(&mut self, painter: &mut Painter) {}
}
pub struct WidgetTag;
pub struct FnTag;