[][src]Module rustc::arena

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Structs

ArenaInternal
DropArenaInternal

An arena which can be used to allocate any type. Allocating in this arena is unsafe since the type system doesn't know which types it contains. In order to allocate safely, you must store a PhantomData alongside this arena for each type T you allocate.

DropTypeInternal

Calls the destructor for an object when dropped.

Traits

ArenaAllocatableInternal
ArenaFieldInternal

Functions

drop_for_typeInternal