Struct rustc_metadata::rmeta::TableBuilders
source · struct TableBuilders {Show 63 fields
is_intrinsic: TableBuilder<DefIndex, bool>,
is_macro_rules: TableBuilder<DefIndex, bool>,
is_type_alias_impl_trait: TableBuilder<DefIndex, bool>,
attr_flags: TableBuilder<DefIndex, AttrFlags>,
def_path_hashes: TableBuilder<DefIndex, DefPathHash>,
explicit_item_bounds: TableBuilder<DefIndex, LazyArray<(Predicate<'static>, Span)>>,
inferred_outlives_of: TableBuilder<DefIndex, LazyArray<(Clause<'static>, Span)>>,
inherent_impls: TableBuilder<DefIndex, LazyArray<DefIndex>>,
associated_types_for_impl_traits_in_associated_fn: TableBuilder<DefIndex, LazyArray<DefId>>,
opt_rpitit_info: TableBuilder<DefIndex, Option<LazyValue<ImplTraitInTraitData>>>,
unused_generic_params: TableBuilder<DefIndex, UnusedGenericParams>,
attributes: TableBuilder<DefIndex, Option<LazyArray<Attribute>>>,
children: TableBuilder<DefIndex, Option<LazyArray<DefIndex>>>,
opt_def_kind: TableBuilder<DefIndex, Option<DefKind>>,
visibility: TableBuilder<DefIndex, Option<LazyValue<Visibility<DefIndex>>>>,
def_span: TableBuilder<DefIndex, Option<LazyValue<Span>>>,
def_ident_span: TableBuilder<DefIndex, Option<LazyValue<Span>>>,
lookup_stability: TableBuilder<DefIndex, Option<LazyValue<Stability>>>,
lookup_const_stability: TableBuilder<DefIndex, Option<LazyValue<ConstStability>>>,
lookup_default_body_stability: TableBuilder<DefIndex, Option<LazyValue<DefaultBodyStability>>>,
lookup_deprecation_entry: TableBuilder<DefIndex, Option<LazyValue<Deprecation>>>,
explicit_predicates_of: TableBuilder<DefIndex, Option<LazyValue<GenericPredicates<'static>>>>,
generics_of: TableBuilder<DefIndex, Option<LazyValue<Generics>>>,
super_predicates_of: TableBuilder<DefIndex, Option<LazyValue<GenericPredicates<'static>>>>,
type_of: TableBuilder<DefIndex, Option<LazyValue<EarlyBinder<Ty<'static>>>>>,
variances_of: TableBuilder<DefIndex, Option<LazyArray<Variance>>>,
fn_sig: TableBuilder<DefIndex, Option<LazyValue<EarlyBinder<PolyFnSig<'static>>>>>,
codegen_fn_attrs: TableBuilder<DefIndex, Option<LazyValue<CodegenFnAttrs>>>,
impl_trait_ref: TableBuilder<DefIndex, Option<LazyValue<EarlyBinder<TraitRef<'static>>>>>,
const_param_default: TableBuilder<DefIndex, Option<LazyValue<EarlyBinder<Const<'static>>>>>,
object_lifetime_default: TableBuilder<DefIndex, Option<LazyValue<ObjectLifetimeDefault>>>,
optimized_mir: TableBuilder<DefIndex, Option<LazyValue<Body<'static>>>>,
mir_for_ctfe: TableBuilder<DefIndex, Option<LazyValue<Body<'static>>>>,
mir_generator_witnesses: TableBuilder<DefIndex, Option<LazyValue<GeneratorLayout<'static>>>>,
promoted_mir: TableBuilder<DefIndex, Option<LazyValue<IndexVec<Promoted, Body<'static>>>>>,
thir_abstract_const: TableBuilder<DefIndex, Option<LazyValue<Const<'static>>>>,
impl_parent: TableBuilder<DefIndex, Option<RawDefId>>,
impl_polarity: TableBuilder<DefIndex, Option<ImplPolarity>>,
constness: TableBuilder<DefIndex, Option<Constness>>,
impl_defaultness: TableBuilder<DefIndex, Option<Defaultness>>,
coerce_unsized_info: TableBuilder<DefIndex, Option<LazyValue<CoerceUnsizedInfo>>>,
mir_const_qualif: TableBuilder<DefIndex, Option<LazyValue<ConstQualifs>>>,
rendered_const: TableBuilder<DefIndex, Option<LazyValue<String>>>,
asyncness: TableBuilder<DefIndex, Option<IsAsync>>,
fn_arg_names: TableBuilder<DefIndex, Option<LazyArray<Ident>>>,
generator_kind: TableBuilder<DefIndex, Option<LazyValue<GeneratorKind>>>,
trait_def: TableBuilder<DefIndex, Option<LazyValue<TraitDef>>>,
trait_item_def_id: TableBuilder<DefIndex, Option<RawDefId>>,
expn_that_defined: TableBuilder<DefIndex, Option<LazyValue<ExpnId>>>,
params_in_repr: TableBuilder<DefIndex, Option<LazyValue<BitSet<u32>>>>,
repr_options: TableBuilder<DefIndex, Option<LazyValue<ReprOptions>>>,
def_keys: TableBuilder<DefIndex, Option<LazyValue<DefKey>>>,
proc_macro_quoted_spans: TableBuilder<usize, Option<LazyValue<Span>>>,
generator_diagnostic_data: TableBuilder<DefIndex, Option<LazyValue<GeneratorDiagnosticData<'static>>>>,
variant_data: TableBuilder<DefIndex, Option<LazyValue<VariantData>>>,
assoc_container: TableBuilder<DefIndex, Option<AssocItemContainer>>,
macro_definition: TableBuilder<DefIndex, Option<LazyValue<DelimArgs>>>,
proc_macro: TableBuilder<DefIndex, Option<MacroKind>>,
module_reexports: TableBuilder<DefIndex, Option<LazyArray<ModChild>>>,
deduced_param_attrs: TableBuilder<DefIndex, Option<LazyArray<DeducedParamAttrs>>>,
trait_impl_trait_tys: TableBuilder<DefIndex, Option<LazyValue<FxHashMap<DefId, Ty<'static>>>>>,
doc_link_resolutions: TableBuilder<DefIndex, Option<LazyValue<DocLinkResMap>>>,
doc_link_traits_in_scope: TableBuilder<DefIndex, Option<LazyArray<DefId>>>,
}
Fields§
§is_intrinsic: TableBuilder<DefIndex, bool>
§is_macro_rules: TableBuilder<DefIndex, bool>
§is_type_alias_impl_trait: TableBuilder<DefIndex, bool>
§attr_flags: TableBuilder<DefIndex, AttrFlags>
§def_path_hashes: TableBuilder<DefIndex, DefPathHash>
§explicit_item_bounds: TableBuilder<DefIndex, LazyArray<(Predicate<'static>, Span)>>
§inferred_outlives_of: TableBuilder<DefIndex, LazyArray<(Clause<'static>, Span)>>
§inherent_impls: TableBuilder<DefIndex, LazyArray<DefIndex>>
§associated_types_for_impl_traits_in_associated_fn: TableBuilder<DefIndex, LazyArray<DefId>>
§opt_rpitit_info: TableBuilder<DefIndex, Option<LazyValue<ImplTraitInTraitData>>>
§unused_generic_params: TableBuilder<DefIndex, UnusedGenericParams>
§attributes: TableBuilder<DefIndex, Option<LazyArray<Attribute>>>
§children: TableBuilder<DefIndex, Option<LazyArray<DefIndex>>>
§opt_def_kind: TableBuilder<DefIndex, Option<DefKind>>
§visibility: TableBuilder<DefIndex, Option<LazyValue<Visibility<DefIndex>>>>
§def_span: TableBuilder<DefIndex, Option<LazyValue<Span>>>
§def_ident_span: TableBuilder<DefIndex, Option<LazyValue<Span>>>
§lookup_stability: TableBuilder<DefIndex, Option<LazyValue<Stability>>>
§lookup_const_stability: TableBuilder<DefIndex, Option<LazyValue<ConstStability>>>
§lookup_default_body_stability: TableBuilder<DefIndex, Option<LazyValue<DefaultBodyStability>>>
§lookup_deprecation_entry: TableBuilder<DefIndex, Option<LazyValue<Deprecation>>>
§explicit_predicates_of: TableBuilder<DefIndex, Option<LazyValue<GenericPredicates<'static>>>>
§generics_of: TableBuilder<DefIndex, Option<LazyValue<Generics>>>
§super_predicates_of: TableBuilder<DefIndex, Option<LazyValue<GenericPredicates<'static>>>>
§type_of: TableBuilder<DefIndex, Option<LazyValue<EarlyBinder<Ty<'static>>>>>
§variances_of: TableBuilder<DefIndex, Option<LazyArray<Variance>>>
§fn_sig: TableBuilder<DefIndex, Option<LazyValue<EarlyBinder<PolyFnSig<'static>>>>>
§codegen_fn_attrs: TableBuilder<DefIndex, Option<LazyValue<CodegenFnAttrs>>>
§impl_trait_ref: TableBuilder<DefIndex, Option<LazyValue<EarlyBinder<TraitRef<'static>>>>>
§const_param_default: TableBuilder<DefIndex, Option<LazyValue<EarlyBinder<Const<'static>>>>>
§object_lifetime_default: TableBuilder<DefIndex, Option<LazyValue<ObjectLifetimeDefault>>>
§optimized_mir: TableBuilder<DefIndex, Option<LazyValue<Body<'static>>>>
§mir_for_ctfe: TableBuilder<DefIndex, Option<LazyValue<Body<'static>>>>
§mir_generator_witnesses: TableBuilder<DefIndex, Option<LazyValue<GeneratorLayout<'static>>>>
§promoted_mir: TableBuilder<DefIndex, Option<LazyValue<IndexVec<Promoted, Body<'static>>>>>
§thir_abstract_const: TableBuilder<DefIndex, Option<LazyValue<Const<'static>>>>
§impl_parent: TableBuilder<DefIndex, Option<RawDefId>>
§impl_polarity: TableBuilder<DefIndex, Option<ImplPolarity>>
§constness: TableBuilder<DefIndex, Option<Constness>>
§impl_defaultness: TableBuilder<DefIndex, Option<Defaultness>>
§coerce_unsized_info: TableBuilder<DefIndex, Option<LazyValue<CoerceUnsizedInfo>>>
§mir_const_qualif: TableBuilder<DefIndex, Option<LazyValue<ConstQualifs>>>
§rendered_const: TableBuilder<DefIndex, Option<LazyValue<String>>>
§asyncness: TableBuilder<DefIndex, Option<IsAsync>>
§fn_arg_names: TableBuilder<DefIndex, Option<LazyArray<Ident>>>
§generator_kind: TableBuilder<DefIndex, Option<LazyValue<GeneratorKind>>>
§trait_def: TableBuilder<DefIndex, Option<LazyValue<TraitDef>>>
§trait_item_def_id: TableBuilder<DefIndex, Option<RawDefId>>
§expn_that_defined: TableBuilder<DefIndex, Option<LazyValue<ExpnId>>>
§params_in_repr: TableBuilder<DefIndex, Option<LazyValue<BitSet<u32>>>>
§repr_options: TableBuilder<DefIndex, Option<LazyValue<ReprOptions>>>
§def_keys: TableBuilder<DefIndex, Option<LazyValue<DefKey>>>
§proc_macro_quoted_spans: TableBuilder<usize, Option<LazyValue<Span>>>
§generator_diagnostic_data: TableBuilder<DefIndex, Option<LazyValue<GeneratorDiagnosticData<'static>>>>
§variant_data: TableBuilder<DefIndex, Option<LazyValue<VariantData>>>
§assoc_container: TableBuilder<DefIndex, Option<AssocItemContainer>>
§macro_definition: TableBuilder<DefIndex, Option<LazyValue<DelimArgs>>>
§proc_macro: TableBuilder<DefIndex, Option<MacroKind>>
§module_reexports: TableBuilder<DefIndex, Option<LazyArray<ModChild>>>
§deduced_param_attrs: TableBuilder<DefIndex, Option<LazyArray<DeducedParamAttrs>>>
§trait_impl_trait_tys: TableBuilder<DefIndex, Option<LazyValue<FxHashMap<DefId, Ty<'static>>>>>
§doc_link_resolutions: TableBuilder<DefIndex, Option<LazyValue<DocLinkResMap>>>
§doc_link_traits_in_scope: TableBuilder<DefIndex, Option<LazyArray<DefId>>>
Implementations§
source§impl TableBuilders
impl TableBuilders
fn encode(&self, buf: &mut FileEncoder) -> LazyTables
Trait Implementations§
source§impl Default for TableBuilders
impl Default for TableBuilders
source§fn default() -> TableBuilders
fn default() -> TableBuilders
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for TableBuilders
impl Send for TableBuilders
impl Sync for TableBuilders
impl Unpin for TableBuilders
impl UnwindSafe for TableBuilders
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: 1512 bytes