[−][src]Module rustc_codegen_llvm::attributes::attr
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Functions dealing with attributes and meta items
Structs
Deprecation |
[ Experimental ]
|
RustcDeprecation |
[ Experimental ]
|
Stability |
[ Experimental ] Represents the #[stable], #[unstable], #[rustc_{deprecated,const_unstable}] attributes. |
Enums
InlineAttr |
[ Experimental ]
|
IntType |
[ Experimental ]
|
ReprAttr |
[ Experimental ]
|
StabilityLevel |
[ Experimental ] The available stability levels. |
UnwindAttr |
[ Experimental ]
|
Traits
HasAttrs |
[ Experimental ]
|
Functions
cfg_matches |
[ Experimental ] Tests if a cfg-pattern matches the cfg set |
contains_feature_attr |
[ Experimental ] Check if |
contains_name |
[ Experimental ]
|
eval_condition |
[ Experimental ] Evaluate a cfg-like condition (with |
find_by_name |
[ Experimental ]
|
find_crate_name |
[ Experimental ]
|
find_deprecation |
[ Experimental ] Find the deprecation attribute. |
find_repr_attrs |
[ Experimental ] Parse #[repr(...)] forms. |
find_stability |
[ Experimental ] Find the first stability attribute. |
find_unwind_attr |
[ Experimental ] Determine what |
first_attr_value_str_by_name |
[ Experimental ]
|
inject |
[ Experimental ]
|
is_known |
[ Experimental ]
|
is_known_lint_tool |
[ Experimental ]
|
is_used |
[ Experimental ]
|
list_contains_name |
[ Experimental ]
|
mark_known |
[ Experimental ]
|
mark_used |
[ Experimental ]
|
mk_attr_id |
[ Experimental ]
|
mk_attr_inner |
[ Experimental ] Returns an inner attribute with the given value. |
mk_attr_outer |
[ Experimental ] Returns an outer attribute with the given value. |
mk_list_item |
[ Experimental ]
|
mk_name_value_item |
[ Experimental ]
|
mk_name_value_item_str |
[ Experimental ]
|
mk_nested_word_item |
[ Experimental ]
|
mk_spanned_attr_inner |
[ Experimental ] Returns an inner attribute with the given value and span. |
mk_spanned_attr_outer |
[ Experimental ] Returns an outer attribute with the given value and span. |
mk_sugared_doc_attr |
[ Experimental ]
|
mk_word_item |
[ Experimental ]
|