Struct rustc_ast_lowering::Arena[][src]

pub struct Arena<'tcx> {
Show 41 fields pub dropless: DroplessArena, pub(crate) hir_krate: TypedArena<Crate<'tcx>>, pub(crate) arm: TypedArena<Arm<'tcx>>, pub(crate) asm_operand: TypedArena<(InlineAsmOperand<'tcx>, Span)>, pub(crate) asm_template: TypedArena<InlineAsmTemplatePiece>, pub(crate) attribute: TypedArena<Attribute>, pub(crate) block: TypedArena<Block<'tcx>>, pub(crate) bare_fn_ty: TypedArena<BareFnTy<'tcx>>, pub(crate) body: TypedArena<Body<'tcx>>, pub(crate) generic_arg: TypedArena<GenericArg<'tcx>>, pub(crate) generic_args: TypedArena<GenericArgs<'tcx>>, pub(crate) generic_bound: TypedArena<GenericBound<'tcx>>, pub(crate) generic_param: TypedArena<GenericParam<'tcx>>, pub(crate) expr: TypedArena<Expr<'tcx>>, pub(crate) expr_field: TypedArena<ExprField<'tcx>>, pub(crate) pat_field: TypedArena<PatField<'tcx>>, pub(crate) fn_decl: TypedArena<FnDecl<'tcx>>, pub(crate) foreign_item: TypedArena<ForeignItem<'tcx>>, pub(crate) foreign_item_ref: TypedArena<ForeignItemRef>, pub(crate) impl_item: TypedArena<ImplItem<'tcx>>, pub(crate) impl_item_ref: TypedArena<ImplItemRef>, pub(crate) item: TypedArena<Item<'tcx>>, pub(crate) inline_asm: TypedArena<InlineAsm<'tcx>>, pub(crate) llvm_inline_asm: TypedArena<LlvmInlineAsm<'tcx>>, pub(crate) local: TypedArena<Local<'tcx>>, pub(crate) mod_: TypedArena<Mod<'tcx>>, pub(crate) owner_info: TypedArena<OwnerInfo<'tcx>>, pub(crate) param: TypedArena<Param<'tcx>>, pub(crate) pat: TypedArena<Pat<'tcx>>, pub(crate) path: TypedArena<Path<'tcx>>, pub(crate) path_segment: TypedArena<PathSegment<'tcx>>, pub(crate) poly_trait_ref: TypedArena<PolyTraitRef<'tcx>>, pub(crate) qpath: TypedArena<QPath<'tcx>>, pub(crate) stmt: TypedArena<Stmt<'tcx>>, pub(crate) field_def: TypedArena<FieldDef<'tcx>>, pub(crate) trait_item: TypedArena<TraitItem<'tcx>>, pub(crate) trait_item_ref: TypedArena<TraitItemRef>, pub(crate) ty: TypedArena<Ty<'tcx>>, pub(crate) type_binding: TypedArena<TypeBinding<'tcx>>, pub(crate) variant: TypedArena<Variant<'tcx>>, pub(crate) where_predicate: TypedArena<WherePredicate<'tcx>>,
}

Fields

dropless: DroplessArenahir_krate: TypedArena<Crate<'tcx>>arm: TypedArena<Arm<'tcx>>asm_operand: TypedArena<(InlineAsmOperand<'tcx>, Span)>asm_template: TypedArena<InlineAsmTemplatePiece>attribute: TypedArena<Attribute>block: TypedArena<Block<'tcx>>bare_fn_ty: TypedArena<BareFnTy<'tcx>>body: TypedArena<Body<'tcx>>generic_arg: TypedArena<GenericArg<'tcx>>generic_args: TypedArena<GenericArgs<'tcx>>generic_bound: TypedArena<GenericBound<'tcx>>generic_param: TypedArena<GenericParam<'tcx>>expr: TypedArena<Expr<'tcx>>expr_field: TypedArena<ExprField<'tcx>>pat_field: TypedArena<PatField<'tcx>>fn_decl: TypedArena<FnDecl<'tcx>>foreign_item: TypedArena<ForeignItem<'tcx>>foreign_item_ref: TypedArena<ForeignItemRef>impl_item: TypedArena<ImplItem<'tcx>>impl_item_ref: TypedArena<ImplItemRef>item: TypedArena<Item<'tcx>>inline_asm: TypedArena<InlineAsm<'tcx>>llvm_inline_asm: TypedArena<LlvmInlineAsm<'tcx>>local: TypedArena<Local<'tcx>>mod_: TypedArena<Mod<'tcx>>owner_info: TypedArena<OwnerInfo<'tcx>>param: TypedArena<Param<'tcx>>pat: TypedArena<Pat<'tcx>>path: TypedArena<Path<'tcx>>path_segment: TypedArena<PathSegment<'tcx>>poly_trait_ref: TypedArena<PolyTraitRef<'tcx>>qpath: TypedArena<QPath<'tcx>>stmt: TypedArena<Stmt<'tcx>>field_def: TypedArena<FieldDef<'tcx>>trait_item: TypedArena<TraitItem<'tcx>>trait_item_ref: TypedArena<TraitItemRef>ty: TypedArena<Ty<'tcx>>type_binding: TypedArena<TypeBinding<'tcx>>variant: TypedArena<Variant<'tcx>>where_predicate: TypedArena<WherePredicate<'tcx>>

Implementations

Trait Implementations

Returns the “default value” for a type. Read more

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

Performs the conversion.

Performs the conversion.

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