rsx child

This commit is contained in:
2025-07-28 18:47:59 +02:00
parent 26c112bdb2
commit a8e832892b
6 changed files with 123 additions and 84 deletions
+2
View File
@@ -14,6 +14,8 @@ pub trait Element: Send + Sync {
fn render(&mut self, scope: &mut RenderScope) {}
#[allow(unused)]
fn after_render(&mut self, scope: &RenderScope) {}
#[allow(unused)]
fn draw_child(&self, element: &Arc<Widget>) {}
fn as_any(&self) -> &dyn Any;
fn as_any_mut(&mut self) -> &mut dyn Any;
}