Enum ra_ap_hir_def::AttrDefId [−][src]
pub enum AttrDefId { ModuleId(ModuleId), FieldId(FieldId), AdtId(AdtId), FunctionId(FunctionId), EnumVariantId(EnumVariantId), StaticId(StaticId), ConstId(ConstId), TraitId(TraitId), TypeAliasId(TypeAliasId), MacroDefId(MacroDefId), ImplId(ImplId), GenericParamId(GenericParamId), }
Variants
ModuleId(ModuleId)
FieldId(FieldId)
AdtId(AdtId)
FunctionId(FunctionId)
EnumVariantId(EnumVariantId)
StaticId(StaticId)
ConstId(ConstId)
TraitId(TraitId)
TypeAliasId(TypeAliasId)
MacroDefId(MacroDefId)
ImplId(ImplId)
GenericParamId(GenericParamId)
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for AttrDefId
impl UnwindSafe for AttrDefId
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.