Module warlock::alloc[][src]

Structs

AllocError
Bump

A bump allocator suitable for use in single-threaded contexts with a fixed amount of memory. Unable to deallocate memory.

BumpGrow

A growable bump allocator, leveraging the inner Allocator to grow its arena. On Drop, calls the inner Allocator to deallocate its memory

Traits

Allocator

See https://doc.rust-lang.org/nightly/std/alloc/trait.Allocator.html for complete documentation. This and the associated default method implementations were lifted (mostly) verbatim from there.