Function sixtyfps_compilerlib::object_tree::inject_element_as_repeated_element [−][src]
pub fn inject_element_as_repeated_element(
repeated_element: &ElementRc,
new_root: ElementRc
)
Expand description
This function replace the root element of a repeated element. the previous root becomes the only child of the new root element. Note that no reference to the base component must exist outside of repeated_element.base_type