Skip to main content

type_subtypes

Function type_subtypes 

Source
pub fn type_subtypes<'a>(
    index: &'a ProjectIndex,
    base: BaseType,
    from_unit: Option<&str>,
) -> Vec<(&'a SymbolKey, &'a SiteRef)>
Expand description

typeHierarchy/subtypes of a primitive: every refined, opaque or alias type declared over base across the project, sorted by definition position. An opaque type is listed only to requests from its declaring unit.