expandable rsx

This commit is contained in:
2025-07-28 19:43:58 +02:00
parent b0b1835cc1
commit e3bbda6b59
5 changed files with 44 additions and 194 deletions
+4
View File
@@ -47,4 +47,8 @@ impl Rsx {
self.0
.push(RsxElement::Element(Box::new(load), dependencies, children));
}
pub fn expand(&mut self, other: &mut Rsx) {
self.0.append(&mut other.0);
}
}