HasAttrs
hir
0.0.0
HasAttrs
Required Methods
attrs
Implementors
In crate hir
Modules
db
diagnostics
import_map
mir
sym
symbols
term_search
tt
Macros
tool_path
Structs
Adjustment
Attr
AttrId
AttrSourceMap
AttributeTemplate
Attrs
AttrsWithOwner
BuiltinAttr
BuiltinType
Callable
CaptureUsageSource
CaptureUsages
CfgOptions
ChalkTyInterner
ChangeWithProcMacros
Closure
ClosureCapture
Const
ConstParam
Crate
CrateDependency
DefMap
DeriveHelper
DisplayTarget
Enum
EvaluatedConst
ExternBlock
ExternCrateDecl
Field
FilePositionWrapper
FileRangeWrapper
Function
GenericSubstitution
HirFileId
Impl
ImportPathConfig
InFileWrapper
InTypeConst
InlineAsmOperand
Label
Layout
LifetimeParam
Local
LocalSource
Macro
MacroFileId
ModPath
Module
Name
OverloadedDeref
Param
ProcMacros
ProcMacrosBuilder
SelfParam
Semantics
SemanticsImpl
SemanticsScope
Static
StaticLifetime
Struct
Symbol
ToolModule
Trait
TraitAlias
TraitId
TraitRef
TupleField
Type
TypeAlias
TypeInfo
TypeOrConstParam
TypeParam
Union
Variant
VisibleTraits
Enums
Access
Adjust
Adt
AssocItem
AssocItemContainer
AutoBorrow
BindingMode
CallableKind
CaptureKind
CastError
CfgAtom
CfgExpr
ClosureStyle
Complete
ConstEvalError
DefWithBody
DocLinkDef
DropGlue
DynCompatibilityViolation
ExternAssocItem
FieldSource
FnAbi
GenericDef
GenericParam
HirDisplayError
ItemContainer
ItemInNs
LangItem
LayoutError
MacroKind
MethodViolationCode
MirEvalError
MirLowerError
ModuleDef
ModuleDefId
ModuleSource
Mutability
Namespace
PathKind
PathResolution
PointerCast
PrefixKind
Safety
ScopeDef
StructKind
TyFingerprint
TypeRef
UnsafetyReason
Variance
VariantDef
Visibility
Traits
AsAssocItem
AsExternAssocItem
HasAttrs
HasContainer
HasCrate
HasSource
HasVisibility
HirDisplay
HirFileIdExt
HirWrite
MacroFileIdExt
MethodCandidateCallback
PathCandidateCallback
SyntaxContextExt
Functions
marks_rev
prettify_macro_expansion
resolve_absolute_path
resolve_doc_path_on
Type Aliases
ExpandResult
FilePosition
FileRange
HirFilePosition
HirFileRange
InFile
InMacroFile
InRealFile
MacroFilePosition
MacroFileRange
hir
Trait
HasAttrs
Copy item path
Settings
Help
Summary
Source
pub trait HasAttrs { // Required method fn
attrs
(self, db: &dyn
HirDatabase
) ->
AttrsWithOwner
; }
Required Methods
§
Source
fn
attrs
(self, db: &dyn
HirDatabase
) ->
AttrsWithOwner
Implementors
§
Source
§
impl
HasAttrs
for
Adt
Source
§
impl
HasAttrs
for
AssocItem
Source
§
impl
HasAttrs
for
GenericParam
Source
§
impl
HasAttrs
for
Const
Source
§
impl
HasAttrs
for
ConstParam
Source
§
impl
HasAttrs
for
Crate
Source
§
impl
HasAttrs
for
Enum
Source
§
impl
HasAttrs
for
ExternCrateDecl
Source
§
impl
HasAttrs
for
Field
Source
§
impl
HasAttrs
for
Function
Source
§
impl
HasAttrs
for
Impl
Source
§
impl
HasAttrs
for
LifetimeParam
Source
§
impl
HasAttrs
for
Macro
Source
§
impl
HasAttrs
for
Module
Source
§
impl
HasAttrs
for
Static
Source
§
impl
HasAttrs
for
Struct
Source
§
impl
HasAttrs
for
Trait
Source
§
impl
HasAttrs
for
TraitAlias
Source
§
impl
HasAttrs
for
TypeAlias
Source
§
impl
HasAttrs
for
TypeParam
Source
§
impl
HasAttrs
for
Union
Source
§
impl
HasAttrs
for
Variant