Struct rustc_metadata::rmeta::LazyTables
source · pub(crate) struct LazyTables {Show 57 fields
attributes: LazyTable<DefIndex, LazyArray<Attribute>>,
children: LazyTable<DefIndex, LazyArray<DefIndex>>,
opt_def_kind: LazyTable<DefIndex, DefKind>,
visibility: LazyTable<DefIndex, LazyValue<Visibility<DefIndex>>>,
def_span: LazyTable<DefIndex, LazyValue<Span>>,
def_ident_span: LazyTable<DefIndex, LazyValue<Span>>,
lookup_stability: LazyTable<DefIndex, LazyValue<Stability>>,
lookup_const_stability: LazyTable<DefIndex, LazyValue<ConstStability>>,
lookup_default_body_stability: LazyTable<DefIndex, LazyValue<DefaultBodyStability>>,
lookup_deprecation_entry: LazyTable<DefIndex, LazyValue<Deprecation>>,
explicit_item_bounds: LazyTable<DefIndex, LazyArray<(Predicate<'static>, Span)>>,
explicit_predicates_of: LazyTable<DefIndex, LazyValue<GenericPredicates<'static>>>,
generics_of: LazyTable<DefIndex, LazyValue<Generics>>,
inferred_outlives_of: LazyTable<DefIndex, LazyArray<(Clause<'static>, Span)>>,
super_predicates_of: LazyTable<DefIndex, LazyValue<GenericPredicates<'static>>>,
type_of: LazyTable<DefIndex, LazyValue<Ty<'static>>>,
variances_of: LazyTable<DefIndex, LazyArray<Variance>>,
fn_sig: LazyTable<DefIndex, LazyValue<PolyFnSig<'static>>>,
codegen_fn_attrs: LazyTable<DefIndex, LazyValue<CodegenFnAttrs>>,
impl_trait_ref: LazyTable<DefIndex, LazyValue<TraitRef<'static>>>,
const_param_default: LazyTable<DefIndex, LazyValue<Const<'static>>>,
object_lifetime_default: LazyTable<DefIndex, LazyValue<ObjectLifetimeDefault>>,
optimized_mir: LazyTable<DefIndex, LazyValue<Body<'static>>>,
mir_for_ctfe: LazyTable<DefIndex, LazyValue<Body<'static>>>,
promoted_mir: LazyTable<DefIndex, LazyValue<IndexVec<Promoted, Body<'static>>>>,
thir_abstract_const: LazyTable<DefIndex, LazyValue<Const<'static>>>,
impl_parent: LazyTable<DefIndex, RawDefId>,
impl_polarity: LazyTable<DefIndex, ImplPolarity>,
constness: LazyTable<DefIndex, Constness>,
is_intrinsic: LazyTable<DefIndex, ()>,
impl_defaultness: LazyTable<DefIndex, Defaultness>,
coerce_unsized_info: LazyTable<DefIndex, LazyValue<CoerceUnsizedInfo>>,
mir_const_qualif: LazyTable<DefIndex, LazyValue<ConstQualifs>>,
rendered_const: LazyTable<DefIndex, LazyValue<String>>,
asyncness: LazyTable<DefIndex, IsAsync>,
fn_arg_names: LazyTable<DefIndex, LazyArray<Ident>>,
generator_kind: LazyTable<DefIndex, LazyValue<GeneratorKind>>,
trait_def: LazyTable<DefIndex, LazyValue<TraitDef>>,
trait_item_def_id: LazyTable<DefIndex, RawDefId>,
inherent_impls: LazyTable<DefIndex, LazyArray<DefIndex>>,
expn_that_defined: LazyTable<DefIndex, LazyValue<ExpnId>>,
unused_generic_params: LazyTable<DefIndex, LazyValue<FiniteBitSet<u32>>>,
params_in_repr: LazyTable<DefIndex, LazyValue<BitSet<u32>>>,
repr_options: LazyTable<DefIndex, LazyValue<ReprOptions>>,
def_keys: LazyTable<DefIndex, LazyValue<DefKey>>,
def_path_hashes: LazyTable<DefIndex, DefPathHash>,
proc_macro_quoted_spans: LazyTable<usize, LazyValue<Span>>,
generator_diagnostic_data: LazyTable<DefIndex, LazyValue<GeneratorDiagnosticData<'static>>>,
may_have_doc_links: LazyTable<DefIndex, ()>,
variant_data: LazyTable<DefIndex, LazyValue<VariantData>>,
assoc_container: LazyTable<DefIndex, AssocItemContainer>,
macro_rules: LazyTable<DefIndex, ()>,
macro_definition: LazyTable<DefIndex, LazyValue<DelimArgs>>,
proc_macro: LazyTable<DefIndex, MacroKind>,
module_reexports: LazyTable<DefIndex, LazyArray<ModChild>>,
deduced_param_attrs: LazyTable<DefIndex, LazyArray<DeducedParamAttrs>>,
trait_impl_trait_tys: LazyTable<DefIndex, LazyValue<FxHashMap<DefId, Ty<'static>>>>,
}
Fields§
§attributes: LazyTable<DefIndex, LazyArray<Attribute>>
§children: LazyTable<DefIndex, LazyArray<DefIndex>>
§opt_def_kind: LazyTable<DefIndex, DefKind>
§visibility: LazyTable<DefIndex, LazyValue<Visibility<DefIndex>>>
§def_span: LazyTable<DefIndex, LazyValue<Span>>
§def_ident_span: LazyTable<DefIndex, LazyValue<Span>>
§lookup_stability: LazyTable<DefIndex, LazyValue<Stability>>
§lookup_const_stability: LazyTable<DefIndex, LazyValue<ConstStability>>
§lookup_default_body_stability: LazyTable<DefIndex, LazyValue<DefaultBodyStability>>
§lookup_deprecation_entry: LazyTable<DefIndex, LazyValue<Deprecation>>
§explicit_item_bounds: LazyTable<DefIndex, LazyArray<(Predicate<'static>, Span)>>
§explicit_predicates_of: LazyTable<DefIndex, LazyValue<GenericPredicates<'static>>>
§generics_of: LazyTable<DefIndex, LazyValue<Generics>>
§inferred_outlives_of: LazyTable<DefIndex, LazyArray<(Clause<'static>, Span)>>
§super_predicates_of: LazyTable<DefIndex, LazyValue<GenericPredicates<'static>>>
§type_of: LazyTable<DefIndex, LazyValue<Ty<'static>>>
§variances_of: LazyTable<DefIndex, LazyArray<Variance>>
§fn_sig: LazyTable<DefIndex, LazyValue<PolyFnSig<'static>>>
§codegen_fn_attrs: LazyTable<DefIndex, LazyValue<CodegenFnAttrs>>
§impl_trait_ref: LazyTable<DefIndex, LazyValue<TraitRef<'static>>>
§const_param_default: LazyTable<DefIndex, LazyValue<Const<'static>>>
§object_lifetime_default: LazyTable<DefIndex, LazyValue<ObjectLifetimeDefault>>
§optimized_mir: LazyTable<DefIndex, LazyValue<Body<'static>>>
§mir_for_ctfe: LazyTable<DefIndex, LazyValue<Body<'static>>>
§promoted_mir: LazyTable<DefIndex, LazyValue<IndexVec<Promoted, Body<'static>>>>
§thir_abstract_const: LazyTable<DefIndex, LazyValue<Const<'static>>>
§impl_parent: LazyTable<DefIndex, RawDefId>
§impl_polarity: LazyTable<DefIndex, ImplPolarity>
§constness: LazyTable<DefIndex, Constness>
§is_intrinsic: LazyTable<DefIndex, ()>
§impl_defaultness: LazyTable<DefIndex, Defaultness>
§coerce_unsized_info: LazyTable<DefIndex, LazyValue<CoerceUnsizedInfo>>
§mir_const_qualif: LazyTable<DefIndex, LazyValue<ConstQualifs>>
§rendered_const: LazyTable<DefIndex, LazyValue<String>>
§asyncness: LazyTable<DefIndex, IsAsync>
§fn_arg_names: LazyTable<DefIndex, LazyArray<Ident>>
§generator_kind: LazyTable<DefIndex, LazyValue<GeneratorKind>>
§trait_def: LazyTable<DefIndex, LazyValue<TraitDef>>
§trait_item_def_id: LazyTable<DefIndex, RawDefId>
§inherent_impls: LazyTable<DefIndex, LazyArray<DefIndex>>
§expn_that_defined: LazyTable<DefIndex, LazyValue<ExpnId>>
§unused_generic_params: LazyTable<DefIndex, LazyValue<FiniteBitSet<u32>>>
§params_in_repr: LazyTable<DefIndex, LazyValue<BitSet<u32>>>
§repr_options: LazyTable<DefIndex, LazyValue<ReprOptions>>
§def_keys: LazyTable<DefIndex, LazyValue<DefKey>>
§def_path_hashes: LazyTable<DefIndex, DefPathHash>
§proc_macro_quoted_spans: LazyTable<usize, LazyValue<Span>>
§generator_diagnostic_data: LazyTable<DefIndex, LazyValue<GeneratorDiagnosticData<'static>>>
§may_have_doc_links: LazyTable<DefIndex, ()>
§variant_data: LazyTable<DefIndex, LazyValue<VariantData>>
§assoc_container: LazyTable<DefIndex, AssocItemContainer>
§macro_rules: LazyTable<DefIndex, ()>
§macro_definition: LazyTable<DefIndex, LazyValue<DelimArgs>>
§proc_macro: LazyTable<DefIndex, MacroKind>
§module_reexports: LazyTable<DefIndex, LazyArray<ModChild>>
§deduced_param_attrs: LazyTable<DefIndex, LazyArray<DeducedParamAttrs>>
§trait_impl_trait_tys: LazyTable<DefIndex, LazyValue<FxHashMap<DefId, Ty<'static>>>>
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§
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: 912 bytes