Skip to main content

Crate rustc_structures

Crate rustc_structures 

Source
Expand description

Basic structs that end up being used in attributes for one reason or another, but are not used exclusively in or around attributes.

Modulesยง

collapse_macro_debug_info ๐Ÿ”’
crate_type ๐Ÿ”’
limit ๐Ÿ”’
native_lib_kind ๐Ÿ”’
sanitizer_set ๐Ÿ”’

Structsยง

Limit
New-type wrapper around usize for representing limits. Ensures that comparisons against limits are consistent throughout the compiler.
SanitizerSet

Enumsยง

CollapseMacroDebuginfo
if-ext - if macro from different crate (related to callsite code) | cmd \ attr | no | (unspecified) | external | yes | | no | no | no | no | no | | (unspecified) | no | no | if-ext | yes | | external | no | if-ext | if-ext | yes | | yes | yes | yes | yes | yes |
CrateType
Crate type, as specified by #![crate_type]
NativeLibKind