added Iterator

This commit is contained in:
2025-08-12 23:18:35 -04:00
parent e0cf149790
commit fde8ad17d6
5 changed files with 155 additions and 1 deletions
+4
View File
@@ -51,6 +51,10 @@ pub trait Element: Send + Sync {
#[allow(unused)]
fn draw_child(&mut self, element: &Arc<Widget>) {}
/// Called to undraw child widgets, if any.
#[allow(unused)]
fn undraw_child(&mut self, element: &Arc<Widget>) {}
#[allow(unused)]
fn event(&mut self, event: &dyn Event) {}