Crate growable[−][src]
A growable, reusable box for Rust.
This crate provides a custom Box type with matching API that also allows to reuse the same
memory block to store different types with the minimal amount of allocations and is supposed to be
used with a pool-based allocator such as GrowablePool
.
Notes
This crate uses a lot of ground-breaking features of Rust and therefore is only available on the latest Nightly build.
Structs
Growable | A chunk of the heap memory that can be assigned with an arbitrary type. |
GrowablePool | A pool of |
GrowablePoolBuilder | A customizable |
Reusable | A reusable box. It behaves just like the default |
Functions
replace | Replaces the value, dropping the old one but not the memory associated with it. |