positional async

This commit is contained in:
2024-12-24 20:59:58 +01:00
parent 7e2106cae5
commit fde1eed352
2 changed files with 8 additions and 2 deletions
+5
View File
@@ -319,6 +319,11 @@ impl Children {
0
}
}
pub fn insert(&mut self, index: usize, element: Element) {
if let Children::Children(children, _) = self {
children.insert(index, element);
}
}
}
impl<T> Handler<T> {