rustc_
attr
1.84.0
(9fc6b4312 2025-01-07)
Modules
builtin
session_diagnostics
Structs
AttrIdGenerator
Condition
ConstStability
DefaultBodyStability
Deprecation
MarkedAttrs
Stability
Enums
DeprecatedSince
InlineAttr
InstructionSetAttr
IntType
OptimizeAttr
ReprAttr
StabilityLevel
StableSince
TransparencyError
UnstableReason
Constants
VERSION_PLACEHOLDER
Statics
DEFAULT_LOCALE_RESOURCE
Functions
allow_internal_unstable
cfg_matches
contains_name
eval_condition
filter_by_name
find_body_stability
find_by_name
find_const_stability
find_crate_name
find_deprecation
find_repr_attrs
find_stability
find_transparency
first_attr_value_str_by_name
is_builtin_attr
list_contains_name
mk_attr
mk_attr_from_item
mk_attr_name_value_str
mk_attr_nested_word
mk_attr_word
mk_doc_comment
parse_alignment
parse_confusables
parse_repr_attr
parse_version
rustc_allow_const_fn_unstable
unmarked_crate_const_stab
rustc_attr
Function
contains_name
Copy item path
Settings
Help
Summary
Source
pub fn contains_name(attrs: &[
Attribute
], name:
Symbol
) ->
bool