Skip to main content

class_hover_from_index

Function class_hover_from_index 

Source
pub fn class_hover_from_index(
    word: &str,
    indexes: &[(Url, Arc<FileIndex>)],
) -> Option<Hover>
Expand description

Build a hover for a class/interface/trait/enum found by short name in the workspace index. Returns None when no class with that name exists in indexes.