Skip to main content

DescribeFn

Type Alias DescribeFn 

Source
pub type DescribeFn<C> = dyn Fn(&C) -> Option<String> + Send + Sync;
Expand description

The type of the SimpleLanguage::describe_fn hook: describe a context in one sentence and the skeleton turns it into hover contents.