Expand description
A pointer type which allows for safe transformations of its content without reallocation.
This crate does not depend on the standard library, and can be used in #![no_std]
contexts.
It does however require the alloc
crate.
For more details look at the documentation of EvolveBox
.
Structs§
- Evolve
Box - A pointer type which allows for safe transformations of its content without reallocation.
- L
- A singly linked list containing types, indexed by itself using the
List
trait and used byEvolveBox
to store all possible types.
Traits§
- List
- A trait used to calculate the current type contained in the
EvolveBox
at compile time, meaning that there should not be a runtime cost when using anEvolveBox
. - List
Layout - A trait used to calculate the size and alignment of an
EvolveBox
. This trait is unsafe to implement, as returning the wrong alignment or size for any type in the list can easily result in memory unsafety.