Skip to main content

inlay_hints

Function inlay_hints 

Source
pub fn inlay_hints(
    text: &str,
    hints: &[Hint],
    requested: Span,
) -> Vec<InlayHint>
Expand description

The hints whose anchor falls inside the requested range. text is the analysed snapshot the spans are offsets into; hints is one file’s harvested Hint set.