Module db

Source

Structs§

AllowedAttributesQuery
AllowedStatementAttributesQuery
CrateModulesQuery
DeclaredDerivesQuery
DeclaredPhantomTypeAttributesQuery
DefsDatabase
Representative struct for the query group.
DefsGroupGroupStorage__
FileModulesQuery
InlineMacroPluginsQuery
InternConstantLookupQuery
InternConstantQuery
InternEnumLookupQuery
InternEnumQuery
InternExternFunctionLookupQuery
InternExternFunctionQuery
InternExternTypeLookupQuery
InternExternTypeQuery
InternFreeFunctionLookupQuery
InternFreeFunctionQuery
InternGenericParamLookupQuery
InternGenericParamQuery
InternGlobalUseLookupQuery
InternGlobalUseQuery
InternImplAliasLookupQuery
InternImplAliasQuery
InternImplConstantDefLookupQuery
InternImplConstantDefQuery
InternImplDefLookupQuery
InternImplDefQuery
InternImplFunctionLookupQuery
InternImplFunctionQuery
InternImplImplDefLookupQuery
InternImplImplDefQuery
InternImplTypeDefLookupQuery
InternImplTypeDefQuery
InternLocalVarLookupQuery
InternLocalVarQuery
InternMemberLookupQuery
InternMemberQuery
InternModuleTypeAliasLookupQuery
InternModuleTypeAliasQuery
InternParamLookupQuery
InternParamQuery
InternPluginGeneratedFileLookupQuery
InternPluginGeneratedFileQuery
InternStatementConstLookupQuery
InternStatementConstQuery
InternStatementUseLookupQuery
InternStatementUseQuery
InternStructLookupQuery
InternStructQuery
InternSubmoduleLookupQuery
InternSubmoduleQuery
InternTraitConstantLookupQuery
InternTraitConstantQuery
InternTraitFunctionLookupQuery
InternTraitFunctionQuery
InternTraitImplLookupQuery
InternTraitImplQuery
InternTraitLookupQuery
InternTraitQuery
InternTraitTypeLookupQuery
InternTraitTypeQuery
InternUseLookupQuery
InternUseQuery
InternVariantLookupQuery
InternVariantQuery
IsSubmoduleInlineQuery
MacroPluginsQuery
ModuleAncestorsQuery
ModuleConstantByIdQuery
ModuleConstantsIdsQuery
ModuleConstantsQuery
ModuleData
ModuleDirQuery
ModuleEnumByIdQuery
ModuleEnumsIdsQuery
ModuleEnumsQuery
ModuleExternFunctionByIdQuery
ModuleExternFunctionsIdsQuery
ModuleExternFunctionsQuery
ModuleExternTypeByIdQuery
ModuleExternTypesIdsQuery
ModuleExternTypesQuery
ModuleFileQuery
ModuleFilesQuery
ModuleFreeFunctionByIdQuery
ModuleFreeFunctionsIdsQuery
ModuleFreeFunctionsQuery
ModuleGeneratedFileAuxDataQuery
ModuleGlobalUseByIdQuery
ModuleGlobalUsesQuery
ModuleImplAliasByIdQuery
ModuleImplAliasesIdsQuery
ModuleImplAliasesQuery
ModuleImplByIdQuery
ModuleImplsIdsQuery
ModuleImplsQuery
ModuleItemNameStablePtrQuery
ModuleItemsQuery
ModuleMainFileQuery
ModulePluginDiagnosticsNotesQuery
ModulePluginDiagnosticsQuery
ModuleStructByIdQuery
ModuleStructsIdsQuery
ModuleStructsQuery
ModuleSubmodulesIdsQuery
ModuleSubmodulesQuery
ModuleTraitByIdQuery
ModuleTraitsIdsQuery
ModuleTraitsQuery
ModuleTypeAliasByIdQuery
ModuleTypeAliasesIdsQuery
ModuleTypeAliasesQuery
ModuleUseByIdQuery
ModuleUsesIdsQuery
ModuleUsesQuery
PrivFileToModuleMappingQuery
PrivModuleDataQuery
PrivModuleSubFiles
Information about generated files from running on a module file.
PrivModuleSubFilesQuery

Traits§

DefsGroup
Salsa database interface. See super::ids for further details.

Functions§

get_all_path_leaves
Returns all the path leaves under a given use item.
get_all_path_stars
Returns all the path stars under a given use item.
module_ancestors
module_constant_by_id
module_constants
Returns all the constant definitions of the given module.
module_constants_ids
module_enum_by_id
module_enums
Returns all the enums of the given module.
module_enums_ids
module_extern_function_by_id
module_extern_functions
Returns all the extern_functions of the given module.
module_extern_functions_ids
module_extern_type_by_id
module_extern_types
Returns all the extern_types of the given module.
module_extern_types_ids
module_free_function_by_id
module_free_functions
Returns all the free functions of the given module.
module_free_functions_ids
module_generated_file_aux_data
Returns the generated_file_infos of the given module.
module_global_use_by_id
Returns the use * of the given module, by its ID.
module_impl_alias_by_id
module_impl_aliases
Returns all the impl aliases of the given module.
module_impl_aliases_ids
module_impl_by_id
module_impls
Returns all the impls of the given module.
module_impls_ids
module_plugin_diagnostics
Returns all the plugin diagnostics of the given module.
module_plugin_diagnostics_notes
Diagnostic notes for diagnostics originating in the plugin generated files identified by FileId.
module_struct_by_id
module_structs
Returns all the structs of the given module.
module_structs_ids
module_submodule_by_id
module_trait_by_id
module_traits
Returns all the traits of the given module.
module_traits_ids
module_type_alias_by_id
module_type_aliases
Returns all the type aliases of the given module.
module_type_aliases_ids
module_use_by_id
module_uses
Returns all the uses of the given module.
module_uses_ids
try_ext_as_virtual_impl
Returns the VirtualFile matching the given external id.
validate_attributes_flat
Validates that all attributes on the given item are in the allowed set or adds diagnostics.