[src]

Module rustc::metadata::decoder

CrateDep
DefLike
def_like_to_def
each_child_of_item

Iterates over each child of the given item.

each_impl
each_implementation_for_trait
each_implementation_for_type
each_lang_item

Iterates over the language items in the given crate.

each_top_level_item_of_crate

Iterates over all the top-level crate items.

get_crate_attributes
get_crate_deps
get_crate_hash
get_crate_id
get_enum_variants
get_exported_macros
get_impl

Returns information about the given implementation.

get_impl_method
get_impl_trait
get_impl_vtables
get_item_attrs
get_item_path
get_item_variances
get_item_visibility
get_macro_registrar_fn
get_method
get_method_name_and_explicit_self
get_native_libraries
get_provided_trait_methods
get_static_methods_if_impl
get_struct_fields
get_supertraits

Returns the supertraits of the given trait.

get_symbol
get_trait_def
get_trait_method_def_ids
get_trait_of_method
get_tuple_struct_definition_if_ctor

If node_id is the constructor of a tuple struct, retrieve the NodeId of the actual type definition, otherwise, return None

get_type
get_type_name_if_impl
get_type_param_count
item_type
list_crate_metadata
maybe_find_item
maybe_get_crate_hash
maybe_get_crate_id
maybe_get_item_ast
translate_def_id
Cmd
DecodeInlinedItem
GetCrateDataCb