[−][src]Struct rustc_ast_lowering::Arena
Fields
dropless: DroplessArenadrop: DropArenahir_krate: PhantomData<Crate<'tcx>>arm: TypedArena<Arm<'tcx>>asm_operand: TypedArena<InlineAsmOperand<'tcx>>asm_template: TypedArena<InlineAsmTemplatePiece>attribute: TypedArena<Attribute>block: TypedArena<Block<'tcx>>bare_fn_ty: TypedArena<BareFnTy<'tcx>>global_asm: PhantomData<GlobalAsm>generic_arg: TypedArena<GenericArg<'tcx>>generic_args: TypedArena<GenericArgs<'tcx>>generic_bound: TypedArena<GenericBound<'tcx>>generic_param: TypedArena<GenericParam<'tcx>>expr: TypedArena<Expr<'tcx>>field: TypedArena<Field<'tcx>>field_pat: TypedArena<FieldPat<'tcx>>fn_decl: TypedArena<FnDecl<'tcx>>foreign_item: TypedArena<ForeignItem<'tcx>>impl_item_ref: TypedArena<ImplItemRef<'tcx>>inline_asm: PhantomData<InlineAsm<'tcx>>llvm_inline_asm: PhantomData<LlvmInlineAsm<'tcx>>local: TypedArena<Local<'tcx>>macro_def: PhantomData<MacroDef<'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>>struct_field: TypedArena<StructField<'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
impl<'tcx> Arena<'tcx>[src]
pub fn alloc<T: ArenaAllocatable<'tcx, U>, U>(&self, value: T) -> &mut T[src]
pub fn alloc_slice<T: Copy>(&self, value: &[T]) -> &mut [T][src]
pub fn alloc_from_iter<'a, T: ArenaAllocatable<'tcx, U>, U>(
&'a self,
iter: impl IntoIterator<Item = T>
) -> &'a mut [T][src]
&'a self,
iter: impl IntoIterator<Item = T>
) -> &'a mut [T]
Trait Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for Arena<'tcx>
impl<'tcx> !Send for Arena<'tcx>
impl<'tcx> !Sync for Arena<'tcx>
impl<'tcx> Unpin for Arena<'tcx>
impl<'tcx> !UnwindSafe for Arena<'tcx>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,