Struct rustc_metadata::rmeta::TableBuilders
source · struct TableBuilders {Show 74 fields
intrinsic: TableBuilder<DefIndex, Option<LazyValue<IntrinsicDef>>>,
is_macro_rules: TableBuilder<DefIndex, bool>,
is_type_alias_impl_trait: TableBuilder<DefIndex, bool>,
type_alias_is_lazy: TableBuilder<DefIndex, bool>,
attr_flags: TableBuilder<DefIndex, AttrFlags>,
def_path_hashes: TableBuilder<DefIndex, u64>,
explicit_item_bounds: TableBuilder<DefIndex, LazyArray<(Clause<'static>, Span)>>,
explicit_item_super_predicates: TableBuilder<DefIndex, LazyArray<(Clause<'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>>,
associated_type_for_effects: TableBuilder<DefIndex, Option<LazyValue<DefId>>>,
opt_rpitit_info: TableBuilder<DefIndex, Option<LazyValue<ImplTraitInTraitData>>>,
is_effects_desugaring: TableBuilder<DefIndex, bool>,
unused_generic_params: TableBuilder<DefIndex, UnusedGenericParams>,
module_children_reexports: TableBuilder<DefIndex, LazyArray<ModChild>>,
cross_crate_inlinable: TableBuilder<DefIndex, bool>,
attributes: TableBuilder<DefIndex, Option<LazyArray<Attribute>>>,
module_children_non_reexports: TableBuilder<DefIndex, Option<LazyArray<DefIndex>>>,
associated_item_or_field_def_ids: TableBuilder<DefIndex, Option<LazyArray<DefIndex>>>,
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>>>,
explicit_super_predicates_of: TableBuilder<DefIndex, Option<LazyArray<(Clause<'static>, Span)>>>,
explicit_implied_predicates_of: TableBuilder<DefIndex, Option<LazyArray<(Clause<'static>, Span)>>>,
type_of: TableBuilder<DefIndex, Option<LazyValue<EarlyBinder<'static, Ty<'static>>>>>,
variances_of: TableBuilder<DefIndex, Option<LazyArray<Variance>>>,
fn_sig: TableBuilder<DefIndex, Option<LazyValue<EarlyBinder<'static, PolyFnSig<'static>>>>>,
codegen_fn_attrs: TableBuilder<DefIndex, Option<LazyValue<CodegenFnAttrs>>>,
struct_target_features: TableBuilder<DefIndex, Option<LazyArray<TargetFeature>>>,
impl_trait_header: TableBuilder<DefIndex, Option<LazyValue<ImplTraitHeader<'static>>>>,
const_param_default: TableBuilder<DefIndex, Option<LazyValue<EarlyBinder<'static, 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>>>>,
closure_saved_names_of_captured_variables: TableBuilder<DefIndex, Option<LazyValue<IndexVec<FieldIdx, Symbol>>>>,
mir_coroutine_witnesses: TableBuilder<DefIndex, Option<LazyValue<CoroutineLayout<'static>>>>,
promoted_mir: TableBuilder<DefIndex, Option<LazyValue<IndexVec<Promoted, Body<'static>>>>>,
thir_abstract_const: TableBuilder<DefIndex, Option<LazyValue<EarlyBinder<'static, Const<'static>>>>>,
impl_parent: TableBuilder<DefIndex, Option<RawDefId>>,
constness: TableBuilder<DefIndex, Option<Constness>>,
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>>>,
rendered_precise_capturing_args: TableBuilder<DefIndex, Option<LazyArray<Symbol>>>,
asyncness: TableBuilder<DefIndex, Option<Asyncness>>,
fn_arg_names: TableBuilder<DefIndex, Option<LazyArray<Ident>>>,
coroutine_kind: TableBuilder<DefIndex, Option<CoroutineKind>>,
coroutine_for_closure: TableBuilder<DefIndex, Option<RawDefId>>,
eval_static_initializer: TableBuilder<DefIndex, Option<LazyValue<ConstAllocation<'static>>>>,
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>>>,
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>>,
deduced_param_attrs: TableBuilder<DefIndex, Option<LazyArray<DeducedParamAttrs>>>,
trait_impl_trait_tys: TableBuilder<DefIndex, Option<LazyValue<DefIdMap<EarlyBinder<'static, Ty<'static>>>>>>,
doc_link_resolutions: TableBuilder<DefIndex, Option<LazyValue<DocLinkResMap>>>,
doc_link_traits_in_scope: TableBuilder<DefIndex, Option<LazyArray<DefId>>>,
assumed_wf_types_for_rpitit: TableBuilder<DefIndex, Option<LazyArray<(Ty<'static>, Span)>>>,
}
Fields§
§intrinsic: TableBuilder<DefIndex, Option<LazyValue<IntrinsicDef>>>
§is_macro_rules: TableBuilder<DefIndex, bool>
§is_type_alias_impl_trait: TableBuilder<DefIndex, bool>
§type_alias_is_lazy: TableBuilder<DefIndex, bool>
§attr_flags: TableBuilder<DefIndex, AttrFlags>
§def_path_hashes: TableBuilder<DefIndex, u64>
§explicit_item_bounds: TableBuilder<DefIndex, LazyArray<(Clause<'static>, Span)>>
§explicit_item_super_predicates: TableBuilder<DefIndex, LazyArray<(Clause<'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>>
§associated_type_for_effects: TableBuilder<DefIndex, Option<LazyValue<DefId>>>
§opt_rpitit_info: TableBuilder<DefIndex, Option<LazyValue<ImplTraitInTraitData>>>
§is_effects_desugaring: TableBuilder<DefIndex, bool>
§unused_generic_params: TableBuilder<DefIndex, UnusedGenericParams>
§module_children_reexports: TableBuilder<DefIndex, LazyArray<ModChild>>
§cross_crate_inlinable: TableBuilder<DefIndex, bool>
§attributes: TableBuilder<DefIndex, Option<LazyArray<Attribute>>>
§module_children_non_reexports: TableBuilder<DefIndex, Option<LazyArray<DefIndex>>>
§associated_item_or_field_def_ids: TableBuilder<DefIndex, Option<LazyArray<DefIndex>>>
§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>>>
§explicit_super_predicates_of: TableBuilder<DefIndex, Option<LazyArray<(Clause<'static>, Span)>>>
§explicit_implied_predicates_of: TableBuilder<DefIndex, Option<LazyArray<(Clause<'static>, Span)>>>
§type_of: TableBuilder<DefIndex, Option<LazyValue<EarlyBinder<'static, Ty<'static>>>>>
§variances_of: TableBuilder<DefIndex, Option<LazyArray<Variance>>>
§fn_sig: TableBuilder<DefIndex, Option<LazyValue<EarlyBinder<'static, PolyFnSig<'static>>>>>
§codegen_fn_attrs: TableBuilder<DefIndex, Option<LazyValue<CodegenFnAttrs>>>
§struct_target_features: TableBuilder<DefIndex, Option<LazyArray<TargetFeature>>>
§impl_trait_header: TableBuilder<DefIndex, Option<LazyValue<ImplTraitHeader<'static>>>>
§const_param_default: TableBuilder<DefIndex, Option<LazyValue<EarlyBinder<'static, 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>>>>
§closure_saved_names_of_captured_variables: TableBuilder<DefIndex, Option<LazyValue<IndexVec<FieldIdx, Symbol>>>>
§mir_coroutine_witnesses: TableBuilder<DefIndex, Option<LazyValue<CoroutineLayout<'static>>>>
§promoted_mir: TableBuilder<DefIndex, Option<LazyValue<IndexVec<Promoted, Body<'static>>>>>
§thir_abstract_const: TableBuilder<DefIndex, Option<LazyValue<EarlyBinder<'static, Const<'static>>>>>
§impl_parent: TableBuilder<DefIndex, Option<RawDefId>>
§constness: TableBuilder<DefIndex, Option<Constness>>
§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>>>
§rendered_precise_capturing_args: TableBuilder<DefIndex, Option<LazyArray<Symbol>>>
§asyncness: TableBuilder<DefIndex, Option<Asyncness>>
§fn_arg_names: TableBuilder<DefIndex, Option<LazyArray<Ident>>>
§coroutine_kind: TableBuilder<DefIndex, Option<CoroutineKind>>
§coroutine_for_closure: TableBuilder<DefIndex, Option<RawDefId>>
§eval_static_initializer: TableBuilder<DefIndex, Option<LazyValue<ConstAllocation<'static>>>>
§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>>>
§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>>
§deduced_param_attrs: TableBuilder<DefIndex, Option<LazyArray<DeducedParamAttrs>>>
§trait_impl_trait_tys: TableBuilder<DefIndex, Option<LazyValue<DefIdMap<EarlyBinder<'static, Ty<'static>>>>>>
§doc_link_resolutions: TableBuilder<DefIndex, Option<LazyValue<DocLinkResMap>>>
§doc_link_traits_in_scope: TableBuilder<DefIndex, Option<LazyArray<DefId>>>
§assumed_wf_types_for_rpitit: TableBuilder<DefIndex, Option<LazyArray<(Ty<'static>, Span)>>>
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 Freeze for TableBuilders
impl RefUnwindSafe for TableBuilders
impl Send for TableBuilders
impl Sync for TableBuilders
impl Unpin for TableBuilders
impl UnwindSafe for TableBuilders
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
source§impl<T> Filterable for T
impl<T> Filterable for T
source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more
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<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§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
source§impl<I, T, U> Upcast<I, U> for Twhere
U: UpcastFrom<I, T>,
impl<I, T, U> Upcast<I, U> for Twhere
U: UpcastFrom<I, T>,
source§impl<I, T> UpcastFrom<I, T> for T
impl<I, T> UpcastFrom<I, T> for T
fn upcast_from(from: T, _tcx: I) -> 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: 2368 bytes