Skip to main content

RootVisitorMut

Type Alias RootVisitorMut 

Source
pub type RootVisitorMut<'a, 'f> = dyn FnMut(EffectRootKind, &str, &str, &'a mut [QuestEffect]) + 'f;
Expand description

The callback for_each_effect_root_mut hands each root to: (kind, json_pointer_to_the_list, l10n_keybase, list). 'a ties the effects to the campaign borrow, so a consumer may collect them; 'f is the callback’s own borrow.