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