Function i_slint_compiler::object_tree::recurse_elem
source · [−]pub fn recurse_elem<State>(
elem: &ElementRc,
state: &State,
vis: &mut impl FnMut(&ElementRc, &State) -> State
)
Expand description
Call the visitor for each children of the element recursively, starting with the element itself
The state returned by the visitor is passed to the children