cairo_lang_semantic::corelib

Function get_core_trait

source
pub fn get_core_trait(
    db: &dyn SemanticGroup,
    context: CoreTraitContext,
    name: SmolStr,
) -> TraitId
Expand description

Given a core library context and trait name, returns TraitId.