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<(Predicate<'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<&'static [Node<'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<MacArgs>>, 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<(Predicate<'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<&'static [Node<'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<MacArgs>>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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion 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: 912 bytes