Function mediawiki_parser::transformations::recurse_clone_template[][src]

pub fn recurse_clone_template<S: Copy>(
    func: &TFunc<S>,
    root: &Element,
    path: &[&Element],
    settings: S,
    content_func: &Fn(&TFunc<S>, &[Element], &[&Element], S) -> TListResult
) -> TResult

Recursively apply a function content_func to the children list of a node, cloning the input.