Struct rustc_metadata::rmeta::LazyTables
source · pub(crate) struct LazyTables {Show 69 fields
intrinsic: LazyTable<DefIndex, Option<LazyValue<IntrinsicDef>>>,
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, u64>,
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>>,
cross_crate_inlinable: LazyTable<DefIndex, bool>,
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>>>,
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_header: LazyTable<DefIndex, Option<LazyValue<ImplTraitHeader<'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_coroutine_witnesses: LazyTable<DefIndex, Option<LazyValue<CoroutineLayout<'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>>,
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>>>,
coroutine_kind: LazyTable<DefIndex, Option<CoroutineKind>>,
coroutine_for_closure: LazyTable<DefIndex, Option<RawDefId>>,
eval_static_initializer: LazyTable<DefIndex, Option<LazyValue<ConstAllocation<'static>>>>,
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<DefIdMap<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§
§intrinsic: LazyTable<DefIndex, Option<LazyValue<IntrinsicDef>>>
§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, u64>
§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>>
§cross_crate_inlinable: LazyTable<DefIndex, bool>
§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>>>
§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_header: LazyTable<DefIndex, Option<LazyValue<ImplTraitHeader<'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_coroutine_witnesses: LazyTable<DefIndex, Option<LazyValue<CoroutineLayout<'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>>
§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>>>
§coroutine_kind: LazyTable<DefIndex, Option<CoroutineKind>>
§coroutine_for_closure: LazyTable<DefIndex, Option<RawDefId>>
§eval_static_initializer: LazyTable<DefIndex, Option<LazyValue<ConstAllocation<'static>>>>
§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<DefIdMap<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 DynSend for LazyTables
impl DynSync for LazyTables
impl Freeze for LazyTables
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
source§impl<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
§impl<T> Filterable for T
impl<T> Filterable for T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<P> IntoQueryParam<P> for P
impl<P> IntoQueryParam<P> for P
fn into_query_param(self) -> P
source§impl<T> MaybeResult<T> for T
impl<T> MaybeResult<T> for T
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<'tcx, T> ToPredicate<'tcx, T> for T
impl<'tcx, T> ToPredicate<'tcx, T> for T
fn to_predicate(self, _tcx: TyCtxt<'tcx>) -> T
source§impl<Tcx, T> Value<Tcx> for Twhere
Tcx: DepContext,
impl<Tcx, T> Value<Tcx> for Twhere
Tcx: DepContext,
default fn from_cycle_error( tcx: Tcx, cycle_error: &CycleError, _guar: ErrorGuaranteed ) -> T
source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> MaybeSendSync for T
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: 1656 bytes