Function mediawiki_parser::transformations::recurse_clone_template
source · pub fn recurse_clone_template<S: Copy>(
func: &TFunc<S>,
root: &Element,
path: &[&Element],
settings: S,
content_func: &dyn Fn(&TFunc<S>, &[Element], &[&Element], S) -> TListResult
) -> TResult
Expand description
Recursively apply a function content_func
to the children list of a node, cloning the input.