logo
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