pub fn apply_generators<F>( mode: &GeneratorTestMode, generators: &HashMap<DocPath, Generator>, closure: &mut F, )where F: FnMut(&DocPath, &Generator),
If the mode applies, invoke the callback for each of the generators