cairo_lang_defs::ids

Trait NamedLanguageElementId

source
pub trait NamedLanguageElementId: LanguageElementId {
    // Required method
    fn name(&self, db: &dyn DefsGroup) -> SmolStr;
}

Required Methods§

source

fn name(&self, db: &dyn DefsGroup) -> SmolStr

Implementors§

source§

impl NamedLanguageElementId for FunctionTitleId

source§

impl NamedLanguageElementId for FunctionWithBodyId

source§

impl NamedLanguageElementId for GenericImplItemId

source§

impl NamedLanguageElementId for GenericItemId

source§

impl NamedLanguageElementId for GenericModuleItemId

source§

impl NamedLanguageElementId for GenericTraitItemId

source§

impl NamedLanguageElementId for GenericTypeId

source§

impl NamedLanguageElementId for ImplItemId

source§

impl NamedLanguageElementId for ModuleItemId

source§

impl NamedLanguageElementId for StatementItemId

source§

impl NamedLanguageElementId for TraitItemId

source§

impl NamedLanguageElementId for ConstantId

source§

impl NamedLanguageElementId for EnumId

source§

impl NamedLanguageElementId for ExternFunctionId

source§

impl NamedLanguageElementId for ExternTypeId

source§

impl NamedLanguageElementId for FreeFunctionId

source§

impl NamedLanguageElementId for ImplAliasId

source§

impl NamedLanguageElementId for ImplConstantDefId

source§

impl NamedLanguageElementId for ImplDefId

source§

impl NamedLanguageElementId for ImplFunctionId

source§

impl NamedLanguageElementId for ImplImplDefId

source§

impl NamedLanguageElementId for ImplTypeDefId

source§

impl NamedLanguageElementId for MemberId

source§

impl NamedLanguageElementId for ModuleTypeAliasId

source§

impl NamedLanguageElementId for ParamId

source§

impl NamedLanguageElementId for StatementConstId

source§

impl NamedLanguageElementId for StatementUseId

source§

impl NamedLanguageElementId for StructId

source§

impl NamedLanguageElementId for SubmoduleId

source§

impl NamedLanguageElementId for TraitConstantId

source§

impl NamedLanguageElementId for TraitFunctionId

source§

impl NamedLanguageElementId for TraitId

source§

impl NamedLanguageElementId for TraitImplId

source§

impl NamedLanguageElementId for TraitTypeId

source§

impl NamedLanguageElementId for UseId

source§

impl NamedLanguageElementId for VariantId