cairo_lang_semantic::items::module

Function module_usable_trait_ids

Source
pub fn module_usable_trait_ids(
    db: &dyn SemanticGroup,
    module_id: ModuleId,
) -> Maybe<Arc<OrderedHashMap<TraitId, LookupItemId>>>
Expand description

Finds all the trait ids usable in the current context.