Struct rustc_metadata::rmeta::LazyTables
source · pub(crate) struct LazyTables {Show 67 fields
is_intrinsic: LazyTable<DefIndex, bool>,
is_macro_rules: LazyTable<DefIndex, bool>,
is_type_alias_impl_trait: LazyTable<DefIndex, bool>,
type_alias_is_lazy: LazyTable<DefIndex, bool>,
attr_flags: LazyTable<DefIndex, AttrFlags>,
def_path_hashes: LazyTable<DefIndex, DefPathHash>,
explicit_item_bounds: LazyTable<DefIndex, LazyArray<(Clause<'static>, Span)>>,
inferred_outlives_of: LazyTable<DefIndex, LazyArray<(Clause<'static>, Span)>>,
inherent_impls: LazyTable<DefIndex, LazyArray<DefIndex>>,
associated_types_for_impl_traits_in_associated_fn: LazyTable<DefIndex, LazyArray<DefId>>,
opt_rpitit_info: LazyTable<DefIndex, Option<LazyValue<ImplTraitInTraitData>>>,
unused_generic_params: LazyTable<DefIndex, UnusedGenericParams>,
module_children_reexports: LazyTable<DefIndex, LazyArray<ModChild>>,
attributes: LazyTable<DefIndex, Option<LazyArray<Attribute>>>,
module_children_non_reexports: LazyTable<DefIndex, Option<LazyArray<DefIndex>>>,
associated_item_or_field_def_ids: LazyTable<DefIndex, Option<LazyArray<DefIndex>>>,
opt_def_kind: LazyTable<DefIndex, Option<DefKind>>,
visibility: LazyTable<DefIndex, Option<LazyValue<Visibility<DefIndex>>>>,
def_span: LazyTable<DefIndex, Option<LazyValue<Span>>>,
def_ident_span: LazyTable<DefIndex, Option<LazyValue<Span>>>,
lookup_stability: LazyTable<DefIndex, Option<LazyValue<Stability>>>,
lookup_const_stability: LazyTable<DefIndex, Option<LazyValue<ConstStability>>>,
lookup_default_body_stability: LazyTable<DefIndex, Option<LazyValue<DefaultBodyStability>>>,
lookup_deprecation_entry: LazyTable<DefIndex, Option<LazyValue<Deprecation>>>,
explicit_predicates_of: LazyTable<DefIndex, Option<LazyValue<GenericPredicates<'static>>>>,
generics_of: LazyTable<DefIndex, Option<LazyValue<Generics>>>,
super_predicates_of: LazyTable<DefIndex, Option<LazyValue<GenericPredicates<'static>>>>,
implied_predicates_of: LazyTable<DefIndex, Option<LazyValue<GenericPredicates<'static>>>>,
type_of: LazyTable<DefIndex, Option<LazyValue<EarlyBinder<Ty<'static>>>>>,
variances_of: LazyTable<DefIndex, Option<LazyArray<Variance>>>,
fn_sig: LazyTable<DefIndex, Option<LazyValue<EarlyBinder<PolyFnSig<'static>>>>>,
codegen_fn_attrs: LazyTable<DefIndex, Option<LazyValue<CodegenFnAttrs>>>,
impl_trait_ref: LazyTable<DefIndex, Option<LazyValue<EarlyBinder<TraitRef<'static>>>>>,
const_param_default: LazyTable<DefIndex, Option<LazyValue<EarlyBinder<Const<'static>>>>>,
object_lifetime_default: LazyTable<DefIndex, Option<LazyValue<ObjectLifetimeDefault>>>,
optimized_mir: LazyTable<DefIndex, Option<LazyValue<Body<'static>>>>,
mir_for_ctfe: LazyTable<DefIndex, Option<LazyValue<Body<'static>>>>,
closure_saved_names_of_captured_variables: LazyTable<DefIndex, Option<LazyValue<IndexVec<FieldIdx, Symbol>>>>,
mir_generator_witnesses: LazyTable<DefIndex, Option<LazyValue<GeneratorLayout<'static>>>>,
promoted_mir: LazyTable<DefIndex, Option<LazyValue<IndexVec<Promoted, Body<'static>>>>>,
thir_abstract_const: LazyTable<DefIndex, Option<LazyValue<EarlyBinder<Const<'static>>>>>,
impl_parent: LazyTable<DefIndex, Option<RawDefId>>,
impl_polarity: LazyTable<DefIndex, Option<ImplPolarity>>,
constness: LazyTable<DefIndex, Option<Constness>>,
defaultness: LazyTable<DefIndex, Option<Defaultness>>,
coerce_unsized_info: LazyTable<DefIndex, Option<LazyValue<CoerceUnsizedInfo>>>,
mir_const_qualif: LazyTable<DefIndex, Option<LazyValue<ConstQualifs>>>,
rendered_const: LazyTable<DefIndex, Option<LazyValue<String>>>,
asyncness: LazyTable<DefIndex, Option<Asyncness>>,
fn_arg_names: LazyTable<DefIndex, Option<LazyArray<Ident>>>,
generator_kind: LazyTable<DefIndex, Option<LazyValue<GeneratorKind>>>,
trait_def: LazyTable<DefIndex, Option<LazyValue<TraitDef>>>,
trait_item_def_id: LazyTable<DefIndex, Option<RawDefId>>,
expn_that_defined: LazyTable<DefIndex, Option<LazyValue<ExpnId>>>,
params_in_repr: LazyTable<DefIndex, Option<LazyValue<BitSet<u32>>>>,
repr_options: LazyTable<DefIndex, Option<LazyValue<ReprOptions>>>,
def_keys: LazyTable<DefIndex, Option<LazyValue<DefKey>>>,
proc_macro_quoted_spans: LazyTable<usize, Option<LazyValue<Span>>>,
variant_data: LazyTable<DefIndex, Option<LazyValue<VariantData>>>,
assoc_container: LazyTable<DefIndex, Option<AssocItemContainer>>,
macro_definition: LazyTable<DefIndex, Option<LazyValue<DelimArgs>>>,
proc_macro: LazyTable<DefIndex, Option<MacroKind>>,
deduced_param_attrs: LazyTable<DefIndex, Option<LazyArray<DeducedParamAttrs>>>,
trait_impl_trait_tys: LazyTable<DefIndex, Option<LazyValue<FxHashMap<DefId, EarlyBinder<Ty<'static>>>>>>,
doc_link_resolutions: LazyTable<DefIndex, Option<LazyValue<DocLinkResMap>>>,
doc_link_traits_in_scope: LazyTable<DefIndex, Option<LazyArray<DefId>>>,
assumed_wf_types_for_rpitit: LazyTable<DefIndex, Option<LazyArray<(Ty<'static>, Span)>>>,
}
Fields§
§is_intrinsic: LazyTable<DefIndex, bool>
§is_macro_rules: LazyTable<DefIndex, bool>
§is_type_alias_impl_trait: LazyTable<DefIndex, bool>
§type_alias_is_lazy: LazyTable<DefIndex, bool>
§attr_flags: LazyTable<DefIndex, AttrFlags>
§def_path_hashes: LazyTable<DefIndex, DefPathHash>
§explicit_item_bounds: LazyTable<DefIndex, LazyArray<(Clause<'static>, Span)>>
§inferred_outlives_of: LazyTable<DefIndex, LazyArray<(Clause<'static>, Span)>>
§inherent_impls: LazyTable<DefIndex, LazyArray<DefIndex>>
§associated_types_for_impl_traits_in_associated_fn: LazyTable<DefIndex, LazyArray<DefId>>
§opt_rpitit_info: LazyTable<DefIndex, Option<LazyValue<ImplTraitInTraitData>>>
§unused_generic_params: LazyTable<DefIndex, UnusedGenericParams>
§module_children_reexports: LazyTable<DefIndex, LazyArray<ModChild>>
§attributes: LazyTable<DefIndex, Option<LazyArray<Attribute>>>
§module_children_non_reexports: LazyTable<DefIndex, Option<LazyArray<DefIndex>>>
§associated_item_or_field_def_ids: LazyTable<DefIndex, Option<LazyArray<DefIndex>>>
§opt_def_kind: LazyTable<DefIndex, Option<DefKind>>
§visibility: LazyTable<DefIndex, Option<LazyValue<Visibility<DefIndex>>>>
§def_span: LazyTable<DefIndex, Option<LazyValue<Span>>>
§def_ident_span: LazyTable<DefIndex, Option<LazyValue<Span>>>
§lookup_stability: LazyTable<DefIndex, Option<LazyValue<Stability>>>
§lookup_const_stability: LazyTable<DefIndex, Option<LazyValue<ConstStability>>>
§lookup_default_body_stability: LazyTable<DefIndex, Option<LazyValue<DefaultBodyStability>>>
§lookup_deprecation_entry: LazyTable<DefIndex, Option<LazyValue<Deprecation>>>
§explicit_predicates_of: LazyTable<DefIndex, Option<LazyValue<GenericPredicates<'static>>>>
§generics_of: LazyTable<DefIndex, Option<LazyValue<Generics>>>
§super_predicates_of: LazyTable<DefIndex, Option<LazyValue<GenericPredicates<'static>>>>
§implied_predicates_of: LazyTable<DefIndex, Option<LazyValue<GenericPredicates<'static>>>>
§type_of: LazyTable<DefIndex, Option<LazyValue<EarlyBinder<Ty<'static>>>>>
§variances_of: LazyTable<DefIndex, Option<LazyArray<Variance>>>
§fn_sig: LazyTable<DefIndex, Option<LazyValue<EarlyBinder<PolyFnSig<'static>>>>>
§codegen_fn_attrs: LazyTable<DefIndex, Option<LazyValue<CodegenFnAttrs>>>
§impl_trait_ref: LazyTable<DefIndex, Option<LazyValue<EarlyBinder<TraitRef<'static>>>>>
§const_param_default: LazyTable<DefIndex, Option<LazyValue<EarlyBinder<Const<'static>>>>>
§object_lifetime_default: LazyTable<DefIndex, Option<LazyValue<ObjectLifetimeDefault>>>
§optimized_mir: LazyTable<DefIndex, Option<LazyValue<Body<'static>>>>
§mir_for_ctfe: LazyTable<DefIndex, Option<LazyValue<Body<'static>>>>
§closure_saved_names_of_captured_variables: LazyTable<DefIndex, Option<LazyValue<IndexVec<FieldIdx, Symbol>>>>
§mir_generator_witnesses: LazyTable<DefIndex, Option<LazyValue<GeneratorLayout<'static>>>>
§promoted_mir: LazyTable<DefIndex, Option<LazyValue<IndexVec<Promoted, Body<'static>>>>>
§thir_abstract_const: LazyTable<DefIndex, Option<LazyValue<EarlyBinder<Const<'static>>>>>
§impl_parent: LazyTable<DefIndex, Option<RawDefId>>
§impl_polarity: LazyTable<DefIndex, Option<ImplPolarity>>
§constness: LazyTable<DefIndex, Option<Constness>>
§defaultness: LazyTable<DefIndex, Option<Defaultness>>
§coerce_unsized_info: LazyTable<DefIndex, Option<LazyValue<CoerceUnsizedInfo>>>
§mir_const_qualif: LazyTable<DefIndex, Option<LazyValue<ConstQualifs>>>
§rendered_const: LazyTable<DefIndex, Option<LazyValue<String>>>
§asyncness: LazyTable<DefIndex, Option<Asyncness>>
§fn_arg_names: LazyTable<DefIndex, Option<LazyArray<Ident>>>
§generator_kind: LazyTable<DefIndex, Option<LazyValue<GeneratorKind>>>
§trait_def: LazyTable<DefIndex, Option<LazyValue<TraitDef>>>
§trait_item_def_id: LazyTable<DefIndex, Option<RawDefId>>
§expn_that_defined: LazyTable<DefIndex, Option<LazyValue<ExpnId>>>
§params_in_repr: LazyTable<DefIndex, Option<LazyValue<BitSet<u32>>>>
§repr_options: LazyTable<DefIndex, Option<LazyValue<ReprOptions>>>
§def_keys: LazyTable<DefIndex, Option<LazyValue<DefKey>>>
§proc_macro_quoted_spans: LazyTable<usize, Option<LazyValue<Span>>>
§variant_data: LazyTable<DefIndex, Option<LazyValue<VariantData>>>
§assoc_container: LazyTable<DefIndex, Option<AssocItemContainer>>
§macro_definition: LazyTable<DefIndex, Option<LazyValue<DelimArgs>>>
§proc_macro: LazyTable<DefIndex, Option<MacroKind>>
§deduced_param_attrs: LazyTable<DefIndex, Option<LazyArray<DeducedParamAttrs>>>
§trait_impl_trait_tys: LazyTable<DefIndex, Option<LazyValue<FxHashMap<DefId, EarlyBinder<Ty<'static>>>>>>
§doc_link_resolutions: LazyTable<DefIndex, Option<LazyValue<DocLinkResMap>>>
§doc_link_traits_in_scope: LazyTable<DefIndex, Option<LazyArray<DefId>>>
§assumed_wf_types_for_rpitit: LazyTable<DefIndex, Option<LazyArray<(Ty<'static>, Span)>>>
Trait Implementations§
source§impl<'tcx, '__a> Decodable<DecodeContext<'__a, 'tcx>> for LazyTables
impl<'tcx, '__a> Decodable<DecodeContext<'__a, 'tcx>> for LazyTables
fn decode(__decoder: &mut DecodeContext<'__a, 'tcx>) -> Self
source§impl<'tcx, '__a> Encodable<EncodeContext<'__a, 'tcx>> for LazyTables
impl<'tcx, '__a> Encodable<EncodeContext<'__a, 'tcx>> for LazyTables
fn encode(&self, __encoder: &mut EncodeContext<'__a, 'tcx>)
Auto Trait Implementations§
impl RefUnwindSafe for LazyTables
impl Send for LazyTables
impl Sync for LazyTables
impl Unpin for LazyTables
impl UnwindSafe for LazyTables
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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: 1608 bytes