cairo_lang_semantic::items::enm

Function enum_variants

Source
pub fn enum_variants(
    db: &dyn SemanticGroup,
    enum_id: EnumId,
) -> Maybe<OrderedHashMap<SmolStr, VariantId>>
Expand description

Query implementation of crate::db::SemanticGroup::enum_variants.