rustc_middle::query

Struct ExternProviders

Source
pub struct ExternProviders {
Show 302 fields pub trigger_delayed_bug: (), pub registered_tools: (), pub early_lint_checks: (), pub resolutions: (), pub resolver_for_lowering_raw: (), pub source_span: (), pub hir_crate: (), pub hir_crate_items: (), pub hir_module_items: (), pub local_def_id_to_hir_id: (), pub hir_owner_parent: (), pub opt_hir_owner_nodes: (), pub hir_attrs: (), pub const_param_default: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub type_of: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub type_of_opaque: (), pub type_alias_is_lazy: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub collect_return_position_impl_trait_in_trait_tys: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub opaque_ty_origin: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub unsizing_params_for_adt: (), pub analysis: (), pub check_expectations: (), pub generics_of: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub predicates_of: (), pub opaque_types_defined_by: (), pub explicit_item_bounds: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub explicit_item_super_predicates: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub item_bounds: (), pub item_super_predicates: (), pub item_non_self_assumptions: (), pub impl_super_outlives: (), pub native_libraries: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub shallow_lint_levels_on: (), pub lint_expectations: (), pub lints_that_dont_need_to_run: (), pub expn_that_defined: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub is_panic_runtime: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub representability: (), pub representability_adt_ty: (), pub params_in_repr: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub thir_body: (), pub mir_keys: (), pub mir_const_qualif: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub mir_built: (), pub thir_abstract_const: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub mir_drops_elaborated_and_const_checked: (), pub mir_for_ctfe: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub mir_promoted: (), pub closure_typeinfo: (), pub closure_saved_names_of_captured_variables: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub mir_coroutine_witnesses: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub check_coroutine_obligations: (), pub optimized_mir: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub coverage_attr_on: (), pub coverage_ids_info: (), pub promoted_mir: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub erase_regions_ty: (), pub wasm_import_module_map: (), pub trait_explicit_predicates_and_bounds: (), pub explicit_predicates_of: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub inferred_outlives_of: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub explicit_super_predicates_of: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub explicit_implied_predicates_of: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub explicit_supertraits_containing_assoc_item: (), pub const_conditions: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub implied_const_bounds: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub type_param_predicates: (), pub trait_def: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub adt_def: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub adt_destructor: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub adt_async_destructor: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub adt_sized_constraint: (), pub adt_dtorck_constraint: (), pub constness: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub asyncness: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub is_promotable_const_fn: (), pub coroutine_by_move_body_def_id: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub coroutine_kind: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub coroutine_for_closure: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub crate_variances: (), pub variances_of: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub inferred_outlives_crate: (), pub associated_item_def_ids: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub associated_item: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub associated_items: (), pub impl_item_implementor_ids: (), pub associated_types_for_impl_traits_in_associated_fn: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub associated_type_for_impl_trait_in_trait: (), pub impl_trait_header: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub self_ty_of_trait_impl_enabling_order_dep_trait_object_hack: (), pub inherent_impls: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub incoherent_impls: (), pub check_unsafety: (), pub assumed_wf_types: (), pub assumed_wf_types_for_rpitit: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub fn_sig: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub lint_mod: (), pub check_unused_traits: (), pub check_mod_attrs: (), pub check_mod_unstable_api_usage: (), pub check_mod_const_bodies: (), pub check_mod_loops: (), pub check_mod_naked_functions: (), pub check_mod_privacy: (), pub check_liveness: (), pub live_symbols_and_ignored_derived_traits: (), pub check_mod_deathness: (), pub check_mod_type_wf: (), pub coerce_unsized_info: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub typeck: (), pub diagnostic_only_typeck: (), pub used_trait_imports: (), pub coherent_trait: (), pub mir_borrowck: (), pub crate_inherent_impls: (), pub crate_inherent_impls_validity_check: (), pub crate_inherent_impls_overlap_check: (), pub orphan_check_impl: (), pub mir_callgraph_reachable: (), pub mir_inliner_callees: (), pub tag_for_variant: (), pub eval_to_allocation_raw: (), pub eval_static_initializer: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub eval_to_const_value_raw: (), pub eval_to_valtree: (), pub valtree_to_const_val: (), pub destructure_const: (), pub lit_to_const: (), pub check_match: (), pub effective_visibilities: (), pub check_private_in_public: (), pub reachable_set: (), pub region_scope_tree: (), pub mir_shims: (), pub symbol_name: (), pub def_kind: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub def_span: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub def_ident_span: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub lookup_stability: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub lookup_const_stability: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub lookup_default_body_stability: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub should_inherit_track_caller: (), pub lookup_deprecation_entry: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub is_doc_hidden: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub is_doc_notable_trait: (), pub item_attrs: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub codegen_fn_attrs: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub asm_target_features: (), pub fn_arg_names: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub rendered_const: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub rendered_precise_capturing_args: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub impl_parent: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub is_ctfe_mir_available: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub is_mir_available: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub own_existential_vtable_entries: (), pub vtable_entries: (), pub first_method_vtable_slot: (), pub supertrait_vtable_slot: (), pub vtable_allocation: (), pub codegen_select_candidate: (), pub all_local_trait_impls: (), pub trait_impls_of: (), pub specialization_graph_of: (), pub dyn_compatibility_violations: (), pub is_dyn_compatible: (), pub param_env: (), pub param_env_reveal_all_normalized: (), pub is_copy_raw: (), pub is_sized_raw: (), pub is_freeze_raw: (), pub is_unpin_raw: (), pub needs_drop_raw: (), pub needs_async_drop_raw: (), pub has_significant_drop_raw: (), pub has_structural_eq_impl: (), pub adt_drop_tys: (), pub adt_significant_drop_tys: (), pub list_significant_drop_tys: (), pub layout_of: (), pub fn_abi_of_fn_ptr: (), pub fn_abi_of_instance: (), pub dylib_dependency_formats: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub dependency_formats: (), pub is_compiler_builtins: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub has_global_allocator: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub has_alloc_error_handler: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub has_panic_handler: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub is_profiler_runtime: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub has_ffi_unwind_calls: (), pub required_panic_strategy: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub panic_in_drop_strategy: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub is_no_builtins: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub symbol_mangling_version: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub extern_crate: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub specialization_enabled_in: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub specializes: (), pub in_scope_traits_map: (), pub defaultness: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub check_well_formed: (), pub reachable_non_generics: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub is_reachable_non_generic: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub is_unreachable_local_definition: (), pub upstream_monomorphizations: (), pub upstream_monomorphizations_for: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub upstream_drop_glue_for: (), pub upstream_async_drop_glue_for: (), pub foreign_modules: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub clashing_extern_declarations: (), pub entry_fn: (), pub proc_macro_decls_static: (), pub crate_hash: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub crate_host_hash: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub extra_filename: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub crate_extern_paths: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub implementations_of_trait: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub crate_incoherent_impls: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub native_library: (), pub inherit_sig_for_delegation_item: (), pub resolve_bound_vars: (), pub named_variable_map: (), pub is_late_bound_map: (), pub object_lifetime_default: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub late_bound_vars_map: (), pub opaque_captured_lifetimes: (), pub visibility: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub inhabited_predicate_adt: (), pub inhabited_predicate_type: (), pub dep_kind: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub crate_name: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub module_children: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub extern_mod_stmt_cnum: (), pub num_extern_def_ids: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub lib_features: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub stability_implications: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub intrinsic_raw: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub get_lang_items: (), pub all_diagnostic_items: (), pub defined_lang_items: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub diagnostic_items: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub missing_lang_items: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub visible_parent_map: (), pub trimmed_def_paths: (), pub missing_extern_crate_item: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub used_crate_source: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub debugger_visualizers: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub postorder_cnums: (), pub is_private_dep: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub allocator_kind: (), pub alloc_error_handler_kind: (), pub upvars_mentioned: (), pub maybe_unused_trait_imports: (), pub names_imported_by_glob_use: (), pub stability_index: (), pub crates: (), pub used_crates: (), pub traits: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub trait_impls_in_crate: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub exported_symbols: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub collect_and_partition_mono_items: (), pub is_codegened_item: (), pub codegen_unit: (), pub unused_generic_params: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub backend_optimization_level: (), pub output_filenames: (), pub normalize_canonicalized_projection_ty: (), pub normalize_canonicalized_weak_ty: (), pub normalize_canonicalized_inherent_projection_ty: (), pub try_normalize_generic_arg_after_erasing_regions: (), pub implied_outlives_bounds_compat: (), pub implied_outlives_bounds: (), pub dropck_outlives: (), pub evaluate_obligation: (), pub type_op_ascribe_user_type: (), pub type_op_prove_predicate: (), pub type_op_normalize_ty: (), pub type_op_normalize_clause: (), pub type_op_normalize_poly_fn_sig: (), pub type_op_normalize_fn_sig: (), pub instantiate_and_check_impossible_predicates: (), pub is_impossible_associated_item: (), pub method_autoderef_steps: (), pub rust_target_features: (), pub implied_target_features: (), pub features_query: (), pub crate_for_resolver: (), pub resolve_instance_raw: (), pub reveal_opaque_types_in_bounds: (), pub limits: (), pub diagnostic_hir_wf_check: (), pub global_backend_features: (), pub check_validity_requirement: (), pub compare_impl_const: (), pub deduced_param_attrs: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub doc_link_resolutions: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub doc_link_traits_in_scope: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub stripped_cfg_items: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub generics_require_sized_self: (), pub cross_crate_inlinable: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>, pub check_mono_item: (), pub skip_move_check_fns: (), pub items_of_instance: (), pub size_estimate: (),
}

Fields§

§trigger_delayed_bug: ()§registered_tools: ()§early_lint_checks: ()§resolutions: ()§resolver_for_lowering_raw: ()§source_span: ()§hir_crate: ()§hir_crate_items: ()§hir_module_items: ()§local_def_id_to_hir_id: ()§hir_owner_parent: ()§opt_hir_owner_nodes: ()§hir_attrs: ()§const_param_default: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§type_of: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§type_of_opaque: ()§type_alias_is_lazy: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§collect_return_position_impl_trait_in_trait_tys: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§opaque_ty_origin: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§unsizing_params_for_adt: ()§analysis: ()§check_expectations: ()§generics_of: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§predicates_of: ()§opaque_types_defined_by: ()§explicit_item_bounds: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§explicit_item_super_predicates: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§item_bounds: ()§item_super_predicates: ()§item_non_self_assumptions: ()§impl_super_outlives: ()§native_libraries: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§shallow_lint_levels_on: ()§lint_expectations: ()§lints_that_dont_need_to_run: ()§expn_that_defined: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§is_panic_runtime: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§representability: ()§representability_adt_ty: ()§params_in_repr: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§thir_body: ()§mir_keys: ()§mir_const_qualif: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§mir_built: ()§thir_abstract_const: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§mir_drops_elaborated_and_const_checked: ()§mir_for_ctfe: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§mir_promoted: ()§closure_typeinfo: ()§closure_saved_names_of_captured_variables: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§mir_coroutine_witnesses: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§check_coroutine_obligations: ()§optimized_mir: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§coverage_attr_on: ()§coverage_ids_info: ()§promoted_mir: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§erase_regions_ty: ()§wasm_import_module_map: ()§trait_explicit_predicates_and_bounds: ()§explicit_predicates_of: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§inferred_outlives_of: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§explicit_super_predicates_of: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§explicit_implied_predicates_of: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§explicit_supertraits_containing_assoc_item: ()§const_conditions: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§implied_const_bounds: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§type_param_predicates: ()§trait_def: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§adt_def: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§adt_destructor: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§adt_async_destructor: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§adt_sized_constraint: ()§adt_dtorck_constraint: ()§constness: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§asyncness: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§is_promotable_const_fn: ()§coroutine_by_move_body_def_id: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§coroutine_kind: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§coroutine_for_closure: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§crate_variances: ()§variances_of: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§inferred_outlives_crate: ()§associated_item_def_ids: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§associated_item: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§associated_items: ()§impl_item_implementor_ids: ()§associated_types_for_impl_traits_in_associated_fn: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§associated_type_for_impl_trait_in_trait: ()§impl_trait_header: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§self_ty_of_trait_impl_enabling_order_dep_trait_object_hack: ()§inherent_impls: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§incoherent_impls: ()§check_unsafety: ()§assumed_wf_types: ()§assumed_wf_types_for_rpitit: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§fn_sig: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§lint_mod: ()§check_unused_traits: ()§check_mod_attrs: ()§check_mod_unstable_api_usage: ()§check_mod_const_bodies: ()§check_mod_loops: ()§check_mod_naked_functions: ()§check_mod_privacy: ()§check_liveness: ()§live_symbols_and_ignored_derived_traits: ()§check_mod_deathness: ()§check_mod_type_wf: ()§coerce_unsized_info: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§typeck: ()§diagnostic_only_typeck: ()§used_trait_imports: ()§coherent_trait: ()§mir_borrowck: ()§crate_inherent_impls: ()§crate_inherent_impls_validity_check: ()§crate_inherent_impls_overlap_check: ()§orphan_check_impl: ()§mir_callgraph_reachable: ()§mir_inliner_callees: ()§tag_for_variant: ()§eval_to_allocation_raw: ()§eval_static_initializer: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§eval_to_const_value_raw: ()§eval_to_valtree: ()§valtree_to_const_val: ()§destructure_const: ()§lit_to_const: ()§check_match: ()§effective_visibilities: ()§check_private_in_public: ()§reachable_set: ()§region_scope_tree: ()§mir_shims: ()§symbol_name: ()§def_kind: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§def_span: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§def_ident_span: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§lookup_stability: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§lookup_const_stability: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§lookup_default_body_stability: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§should_inherit_track_caller: ()§lookup_deprecation_entry: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§is_doc_hidden: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§is_doc_notable_trait: ()§item_attrs: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§codegen_fn_attrs: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§asm_target_features: ()§fn_arg_names: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§rendered_const: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§rendered_precise_capturing_args: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§impl_parent: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§is_ctfe_mir_available: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§is_mir_available: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§own_existential_vtable_entries: ()§vtable_entries: ()§first_method_vtable_slot: ()§supertrait_vtable_slot: ()§vtable_allocation: ()§codegen_select_candidate: ()§all_local_trait_impls: ()§trait_impls_of: ()§specialization_graph_of: ()§dyn_compatibility_violations: ()§is_dyn_compatible: ()§param_env: ()§param_env_reveal_all_normalized: ()§is_copy_raw: ()§is_sized_raw: ()§is_freeze_raw: ()§is_unpin_raw: ()§needs_drop_raw: ()§needs_async_drop_raw: ()§has_significant_drop_raw: ()§has_structural_eq_impl: ()§adt_drop_tys: ()§adt_significant_drop_tys: ()§list_significant_drop_tys: ()§layout_of: ()§fn_abi_of_fn_ptr: ()§fn_abi_of_instance: ()§dylib_dependency_formats: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§dependency_formats: ()§is_compiler_builtins: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§has_global_allocator: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§has_alloc_error_handler: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§has_panic_handler: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§is_profiler_runtime: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§has_ffi_unwind_calls: ()§required_panic_strategy: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§panic_in_drop_strategy: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§is_no_builtins: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§symbol_mangling_version: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§extern_crate: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§specialization_enabled_in: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§specializes: ()§in_scope_traits_map: ()§defaultness: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§check_well_formed: ()§reachable_non_generics: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§is_reachable_non_generic: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§is_unreachable_local_definition: ()§upstream_monomorphizations: ()§upstream_monomorphizations_for: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§upstream_drop_glue_for: ()§upstream_async_drop_glue_for: ()§foreign_modules: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§clashing_extern_declarations: ()§entry_fn: ()§proc_macro_decls_static: ()§crate_hash: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§crate_host_hash: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§extra_filename: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§crate_extern_paths: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§implementations_of_trait: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§crate_incoherent_impls: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§native_library: ()§inherit_sig_for_delegation_item: ()§resolve_bound_vars: ()§named_variable_map: ()§is_late_bound_map: ()§object_lifetime_default: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§late_bound_vars_map: ()§opaque_captured_lifetimes: ()§visibility: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§inhabited_predicate_adt: ()§inhabited_predicate_type: ()§dep_kind: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§crate_name: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§module_children: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§extern_mod_stmt_cnum: ()§num_extern_def_ids: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§lib_features: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§stability_implications: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§intrinsic_raw: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§get_lang_items: ()§all_diagnostic_items: ()§defined_lang_items: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§diagnostic_items: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§missing_lang_items: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§visible_parent_map: ()§trimmed_def_paths: ()§missing_extern_crate_item: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§used_crate_source: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§debugger_visualizers: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§postorder_cnums: ()§is_private_dep: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§allocator_kind: ()§alloc_error_handler_kind: ()§upvars_mentioned: ()§maybe_unused_trait_imports: ()§names_imported_by_glob_use: ()§stability_index: ()§crates: ()§used_crates: ()§traits: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§trait_impls_in_crate: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§exported_symbols: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§collect_and_partition_mono_items: ()§is_codegened_item: ()§codegen_unit: ()§unused_generic_params: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§backend_optimization_level: ()§output_filenames: ()§normalize_canonicalized_projection_ty: ()§normalize_canonicalized_weak_ty: ()§normalize_canonicalized_inherent_projection_ty: ()§try_normalize_generic_arg_after_erasing_regions: ()§implied_outlives_bounds_compat: ()§implied_outlives_bounds: ()§dropck_outlives: ()§evaluate_obligation: ()§type_op_ascribe_user_type: ()§type_op_prove_predicate: ()§type_op_normalize_ty: ()§type_op_normalize_clause: ()§type_op_normalize_poly_fn_sig: ()§type_op_normalize_fn_sig: ()§instantiate_and_check_impossible_predicates: ()§is_impossible_associated_item: ()§method_autoderef_steps: ()§rust_target_features: ()§implied_target_features: ()§features_query: ()§crate_for_resolver: ()§resolve_instance_raw: ()§reveal_opaque_types_in_bounds: ()§limits: ()§diagnostic_hir_wf_check: ()§global_backend_features: ()§check_validity_requirement: ()§compare_impl_const: ()§deduced_param_attrs: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§doc_link_resolutions: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§doc_link_traits_in_scope: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§stripped_cfg_items: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§generics_require_sized_self: ()§cross_crate_inlinable: for<'tcx> fn(_: TyCtxt<'tcx>, _: Key<'tcx>) -> ProvidedValue<'tcx>§check_mono_item: ()§skip_move_check_fns: ()§items_of_instance: ()§size_estimate: ()

Trait Implementations§

Source§

impl Clone for ExternProviders

Source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for ExternProviders

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for ExternProviders

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Aligned for T

Source§

const ALIGN: Alignment = _

Alignment of Self.
Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<'tcx, T> ArenaAllocatable<'tcx, IsCopy> for T
where T: Copy,

Source§

fn allocate_on(self, arena: &'tcx Arena<'tcx>) -> &'tcx mut T

Source§

fn allocate_from_iter( arena: &'tcx Arena<'tcx>, iter: impl IntoIterator<Item = T>, ) -> &'tcx mut [T]

Source§

impl<'tcx, T> ArenaAllocatable<'tcx, IsCopy> for T
where T: Copy,

Source§

fn allocate_on(self, arena: &'tcx Arena<'tcx>) -> &'tcx mut T

Source§

fn allocate_from_iter( arena: &'tcx Arena<'tcx>, iter: impl IntoIterator<Item = T>, ) -> &'tcx mut [T]

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T, R> CollectAndApply<T, R> for T

Source§

fn collect_and_apply<I, F>(iter: I, f: F) -> R
where I: Iterator<Item = T>, F: FnOnce(&[T]) -> R,

Equivalent to f(&iter.collect::<Vec<_>>()).

Source§

type Output = R

Source§

impl<T> Filterable for T

Source§

fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>

Creates a filterable data provider with the given name for debugging. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<P> IntoQueryParam<P> for P

Source§

impl<T> MaybeResult<T> for T

Source§

type Error = !

Source§

fn from(_: Result<T, <T as MaybeResult<T>>::Error>) -> T

Source§

fn to_result(self) -> Result<T, <T as MaybeResult<T>>::Error>

Source§

impl<T> Pointable for T

Source§

const ALIGN: usize = _

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<I, T, U> Upcast<I, U> for T
where U: UpcastFrom<I, T>,

Source§

fn upcast(self, interner: I) -> U

Source§

impl<I, T> UpcastFrom<I, T> for T

Source§

fn upcast_from(from: T, _tcx: I) -> T

Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<Tcx, T> Value<Tcx> for T
where Tcx: DepContext,

Source§

default fn from_cycle_error( tcx: Tcx, cycle_error: &CycleError, _guar: ErrorGuaranteed, ) -> T

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<'a, T> Captures<'a> for T
where T: ?Sized,

Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> MaybeSendSync for T
where T: Send + Sync,

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 864 bytes