Skip to main content

DefinitionFn

Type Alias DefinitionFn 

Source
pub type DefinitionFn<C> = dyn Fn(&Document<C>, usize) -> Option<Vec<Location>> + Send + Sync;
Expand description

The type of the SimpleLanguage::definition_fn hook.