pub fn apply_import<'a, 'b>(
    assets: &'b HashMap<&str, Tree<'a>>
) -> impl Fn(&mut Tree<'a>) + 'b