pub(crate) struct LazyTables {
Show 59 fields is_intrinsic: LazyTable<DefIndex, bool>, is_macro_rules: LazyTable<DefIndex, bool>, is_type_alias_impl_trait: LazyTable<DefIndex, bool>, attr_flags: LazyTable<DefIndex, AttrFlags>, attributes: LazyTable<DefIndex, Option<LazyArray<Attribute>>>, children: 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_item_bounds: LazyTable<DefIndex, Option<LazyArray<(Predicate<'static>, Span)>>>, explicit_predicates_of: LazyTable<DefIndex, Option<LazyValue<GenericPredicates<'static>>>>, generics_of: LazyTable<DefIndex, Option<LazyValue<Generics>>>, inferred_outlives_of: LazyTable<DefIndex, Option<LazyArray<(Clause<'static>, Span)>>>, super_predicates_of: LazyTable<DefIndex, Option<LazyValue<GenericPredicates<'static>>>>, type_of: LazyTable<DefIndex, Option<LazyValue<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>>>>, 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<Const<'static>>>>, impl_parent: LazyTable<DefIndex, Option<RawDefId>>, impl_polarity: LazyTable<DefIndex, Option<ImplPolarity>>, constness: LazyTable<DefIndex, Option<Constness>>, impl_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<IsAsync>>, 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>>, inherent_impls: LazyTable<DefIndex, Option<LazyArray<DefIndex>>>, expn_that_defined: LazyTable<DefIndex, Option<LazyValue<ExpnId>>>, unused_generic_params: LazyTable<DefIndex, Option<LazyValue<UnusedGenericParams>>>, params_in_repr: LazyTable<DefIndex, Option<LazyValue<BitSet<u32>>>>, repr_options: LazyTable<DefIndex, Option<LazyValue<ReprOptions>>>, def_keys: LazyTable<DefIndex, Option<LazyValue<DefKey>>>, def_path_hashes: LazyTable<DefIndex, Option<DefPathHash>>, proc_macro_quoted_spans: LazyTable<usize, Option<LazyValue<Span>>>, generator_diagnostic_data: LazyTable<DefIndex, Option<LazyValue<GeneratorDiagnosticData<'static>>>>, 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>>, module_reexports: LazyTable<DefIndex, Option<LazyArray<ModChild>>>, deduced_param_attrs: LazyTable<DefIndex, Option<LazyArray<DeducedParamAttrs>>>, trait_impl_trait_tys: LazyTable<DefIndex, Option<LazyValue<FxHashMap<DefId, Ty<'static>>>>>,
}

Fields§

§is_intrinsic: LazyTable<DefIndex, bool>§is_macro_rules: LazyTable<DefIndex, bool>§is_type_alias_impl_trait: LazyTable<DefIndex, bool>§attr_flags: LazyTable<DefIndex, AttrFlags>§attributes: LazyTable<DefIndex, Option<LazyArray<Attribute>>>§children: 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_item_bounds: LazyTable<DefIndex, Option<LazyArray<(Predicate<'static>, Span)>>>§explicit_predicates_of: LazyTable<DefIndex, Option<LazyValue<GenericPredicates<'static>>>>§generics_of: LazyTable<DefIndex, Option<LazyValue<Generics>>>§inferred_outlives_of: LazyTable<DefIndex, Option<LazyArray<(Clause<'static>, Span)>>>§super_predicates_of: LazyTable<DefIndex, Option<LazyValue<GenericPredicates<'static>>>>§type_of: LazyTable<DefIndex, Option<LazyValue<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>>>>§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<Const<'static>>>>§impl_parent: LazyTable<DefIndex, Option<RawDefId>>§impl_polarity: LazyTable<DefIndex, Option<ImplPolarity>>§constness: LazyTable<DefIndex, Option<Constness>>§impl_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<IsAsync>>§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>>§inherent_impls: LazyTable<DefIndex, Option<LazyArray<DefIndex>>>§expn_that_defined: LazyTable<DefIndex, Option<LazyValue<ExpnId>>>§unused_generic_params: LazyTable<DefIndex, Option<LazyValue<UnusedGenericParams>>>§params_in_repr: LazyTable<DefIndex, Option<LazyValue<BitSet<u32>>>>§repr_options: LazyTable<DefIndex, Option<LazyValue<ReprOptions>>>§def_keys: LazyTable<DefIndex, Option<LazyValue<DefKey>>>§def_path_hashes: LazyTable<DefIndex, Option<DefPathHash>>§proc_macro_quoted_spans: LazyTable<usize, Option<LazyValue<Span>>>§generator_diagnostic_data: LazyTable<DefIndex, Option<LazyValue<GeneratorDiagnosticData<'static>>>>§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>>§module_reexports: LazyTable<DefIndex, Option<LazyArray<ModChild>>>§deduced_param_attrs: LazyTable<DefIndex, Option<LazyArray<DeducedParamAttrs>>>§trait_impl_trait_tys: LazyTable<DefIndex, Option<LazyValue<FxHashMap<DefId, Ty<'static>>>>>

Trait Implementations§

source§

impl<'tcx, '__a> Decodable<DecodeContext<'__a, 'tcx>> for LazyTables

source§

fn decode(__decoder: &mut DecodeContext<'__a, 'tcx>) -> Self

source§

impl<'tcx, '__a> Encodable<EncodeContext<'__a, 'tcx>> for LazyTables

source§

fn encode(&self, __encoder: &mut EncodeContext<'__a, 'tcx>)

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

const: unstable · 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, U> TryFrom<U> for Twhere
    U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.

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: 944 bytes