Module rustc::metadata::csearchUnstable [-] [+] [src]

Structs

MethodInfo

Enums

FoundAst

Functions

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 all the language items in the given crate.

each_top_level_item_of_crate

Iterates over each top-level crate item.

get_dylib_dependency_formats
get_enum_variant_defs
get_enum_variants
get_field_type
get_impl_items

Returns information about the given implementation.

get_impl_or_trait_item
get_impl_polarity
get_impl_trait
get_impl_vtables
get_item_attrs
get_item_path
get_item_variances
get_method_arg_names
get_methods_if_impl
get_missing_lang_items
get_native_libraries
get_predicates
get_provided_trait_methods
get_reachable_extern_fns
get_repr_attrs
get_stability
get_struct_field_attrs
get_struct_fields
get_supertraits
get_symbol
get_trait_def
get_trait_item_def_ids
get_trait_item_name_and_kind
get_trait_name
get_trait_of_item

If the given def ID describes an item belonging to a trait (either a default method or an implementation of a trait method), returns the ID of the trait that the method belongs to. Otherwise, returns None.

get_tuple_struct_definition_if_ctor
get_type
get_type_name_if_impl
is_associated_type
is_staged_api
is_typedef
maybe_get_item_ast