Enum rustc_middle::dep_graph::DepKind [−][src]
pub enum DepKind {
Show variants
Null,
TraitSelect,
CompileCodegenUnit,
trigger_delay_span_bug,
hir_crate,
index_hir,
hir_module_items,
hir_owner,
hir_owner_nodes,
hir_attrs,
opt_const_param_of,
const_param_default,
type_of,
analysis,
generics_of,
predicates_of,
explicit_item_bounds,
item_bounds,
projection_ty_from_predicates,
native_libraries,
lint_levels,
parent_module_from_def_id,
expn_that_defined,
is_panic_runtime,
mir_keys,
mir_const_qualif,
mir_const_qualif_const_arg,
mir_built,
mir_const,
mir_abstract_const,
mir_abstract_const_of_const_arg,
try_unify_abstract_consts,
mir_drops_elaborated_and_const_checked,
mir_for_ctfe,
mir_for_ctfe_of_const_arg,
mir_promoted,
optimized_mir,
coverageinfo,
covered_file_name,
covered_code_regions,
promoted_mir,
promoted_mir_of_const_arg,
erase_regions_ty,
wasm_import_module_map,
predicates_defined_on,
trait_explicit_predicates_and_bounds,
explicit_predicates_of,
inferred_outlives_of,
super_predicates_of,
super_predicates_that_define_assoc_type,
type_param_predicates,
trait_def,
adt_def,
adt_destructor,
adt_sized_constraint,
adt_dtorck_constraint,
is_const_fn_raw,
is_const_impl_raw,
asyncness,
is_promotable_const_fn,
is_foreign_item,
static_mutability,
generator_kind,
crate_variances,
variances_of,
inferred_outlives_crate,
associated_item_def_ids,
associated_item,
associated_items,
impl_trait_ref,
impl_polarity,
issue33140_self_ty,
inherent_impls,
unsafety_check_result,
unsafety_check_result_for_const_arg,
unsafe_derive_on_repr_packed,
fn_sig,
lint_mod,
check_mod_attrs,
check_mod_unstable_api_usage,
check_mod_const_bodies,
check_mod_loops,
check_mod_naked_functions,
check_mod_item_types,
check_mod_privacy,
check_mod_intrinsics,
check_mod_liveness,
check_mod_impl_wf,
collect_mod_item_types,
coerce_unsized_info,
typeck_item_bodies,
typeck,
typeck_const_arg,
diagnostic_only_typeck,
used_trait_imports,
has_typeck_results,
coherent_trait,
mir_borrowck,
mir_borrowck_const_arg,
crate_inherent_impls,
crate_inherent_impls_overlap_check,
mir_callgraph_reachable,
mir_inliner_callees,
eval_to_allocation_raw,
eval_to_const_value_raw,
const_to_valtree,
destructure_const,
deref_const,
const_caller_location,
lit_to_const,
check_match,
privacy_access_levels,
check_private_in_public,
reachable_set,
region_scope_tree,
mir_shims,
symbol_name,
opt_def_kind,
def_span,
def_ident_span,
lookup_stability,
lookup_const_stability,
lookup_deprecation_entry,
item_attrs,
codegen_fn_attrs,
fn_arg_names,
rendered_const,
impl_parent,
trait_of_item,
is_ctfe_mir_available,
is_mir_available,
vtable_methods,
codegen_fulfill_obligation,
all_local_trait_impls,
trait_impls_of,
specialization_graph_of,
object_safety_violations,
param_env,
param_env_reveal_all_normalized,
is_copy_raw,
is_sized_raw,
is_freeze_raw,
is_unpin_raw,
needs_drop_raw,
has_structural_eq_impls,
adt_drop_tys,
layout_raw,
dylib_dependency_formats,
dependency_formats,
is_compiler_builtins,
has_global_allocator,
has_panic_handler,
is_profiler_runtime,
panic_strategy,
is_no_builtins,
symbol_mangling_version,
extern_crate,
specializes,
in_scope_traits_map,
module_exports,
impl_defaultness,
check_item_well_formed,
check_trait_item_well_formed,
check_impl_item_well_formed,
reachable_non_generics,
is_reachable_non_generic,
is_unreachable_local_definition,
upstream_monomorphizations,
upstream_monomorphizations_for,
upstream_drop_glue_for,
foreign_modules,
entry_fn,
plugin_registrar_fn,
proc_macro_decls_static,
crate_disambiguator,
crate_hash,
crate_host_hash,
original_crate_name,
extra_filename,
crate_extern_paths,
implementations_of_trait,
all_trait_implementations,
is_dllimport_foreign_item,
is_statically_included_foreign_item,
native_library_kind,
resolve_lifetimes_trait_definition,
resolve_lifetimes,
named_region_map,
is_late_bound_map,
object_lifetime_defaults_map,
late_bound_vars_map,
visibility,
type_uninhabited_from,
dep_kind,
crate_name,
item_children,
extern_mod_stmt_cnum,
get_lib_features,
defined_lib_features,
get_lang_items,
all_diagnostic_items,
defined_lang_items,
diagnostic_items,
missing_lang_items,
visible_parent_map,
trimmed_def_paths,
missing_extern_crate_item,
used_crate_source,
postorder_cnums,
upvars_mentioned,
maybe_unused_trait_import,
maybe_unused_extern_crates,
names_imported_by_glob_use,
stability_index,
all_crate_nums,
all_traits,
exported_symbols,
collect_and_partition_mono_items,
is_codegened_item,
codegened_and_inlined_items,
codegen_unit,
unused_generic_params,
backend_optimization_level,
output_filenames,
normalize_projection_ty,
normalize_generic_arg_after_erasing_regions,
normalize_mir_const_after_erasing_regions,
implied_outlives_bounds,
dropck_outlives,
evaluate_obligation,
evaluate_goal,
type_implements_trait,
type_op_ascribe_user_type,
type_op_eq,
type_op_subtype,
type_op_prove_predicate,
type_op_normalize_ty,
type_op_normalize_predicate,
type_op_normalize_poly_fn_sig,
type_op_normalize_fn_sig,
subst_and_check_impossible_predicates,
method_autoderef_steps,
supported_target_features,
instance_def_size_estimate,
features_query,
resolve_instance,
resolve_instance_of_const_arg,
normalize_opaque_types,
conservative_is_privately_uninhabited,
}This enum serves as an index into the DEP_KINDS array.
Variants
Implementations
impl DepKind[src]
pub fn can_reconstruct_query_key(&self) -> bool[src]
Trait Implementations
impl Clone for DepKind[src]
impl Copy for DepKind[src]
impl Debug for DepKind[src]
impl<__D: Decoder> Decodable<__D> for DepKind[src]
impl DepKind for DepKind[src]
const NULL: Self[src]
fn can_reconstruct_query_key(&self) -> bool[src]
fn is_eval_always(&self) -> bool[src]
fn has_params(&self) -> bool[src]
fn debug_node(node: &DepNode, f: &mut Formatter<'_>) -> Result[src]
fn with_deps<OP, R>(task_deps: Option<&Lock<TaskDeps>>, op: OP) -> R where
OP: FnOnce() -> R, [src]
OP: FnOnce() -> R,
fn read_deps<OP>(op: OP) where
OP: for<'a> FnOnce(Option<&'a Lock<TaskDeps>>), [src]
OP: for<'a> FnOnce(Option<&'a Lock<TaskDeps>>),
impl Deref for DepKind[src]
type Target = DepKindStruct
The resulting type after dereferencing.
fn deref(&self) -> &DepKindStruct[src]
impl<__E: Encoder> Encodable<__E> for DepKind[src]
impl Eq for DepKind[src]
impl Hash for DepKind[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<DepKind> for DepKind[src]
fn eq(&self, other: &DepKind) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn ne(&self, other: &Rhs) -> boolimpl StructuralEq for DepKind[src]
impl StructuralPartialEq for DepKind[src]
Auto Trait Implementations
impl RefUnwindSafe for DepKind
impl Send for DepKind
impl Sync for DepKind
impl Unpin for DepKind
impl UnwindSafe for DepKind
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<'tcx, T> ArenaAllocatable<'tcx, ()> for T where
T: Copy, [src]
T: Copy,
pub fn allocate_on(Self, &'a Arena<'tcx>) -> &'a mut T[src]
pub fn allocate_from_iter(
&'a Arena<'tcx>,
impl IntoIterator<Item = T>
) -> &'a mut [T]ⓘ[src]
&'a Arena<'tcx>,
impl IntoIterator<Item = T>
) -> &'a mut [T]ⓘ
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> MaybeResult<T> for T[src]
type Error = !
pub fn from(Result<T, <T as MaybeResult<T>>::Error>) -> T[src]
pub fn to_result(self) -> Result<T, <T as MaybeResult<T>>::Error>[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.