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