Expand description
Memory arena traits (used by Tlsf).
Re-exports§
pub use self::sys::SysAllocator;pub use self::checked::CheckedArena;pub use self::pooled::PooledArena;
Modules§
- checked
- Naïve memory-safe implementation of
Arena. - pooled
- Adds a
Vec-based pool to any memory arena for faster reallocation. - sys
UnsafeArenaimplementation that relies on the system memory allocator.
Traits§
- Arena
- Memory-safe homogeneous memory arena types.
- Safe
Arena - Marker trait indicating all operations from
UnsafeArenaare actually implemented as memory-safe (notunsafe). - Unsafe
Arena - Homogeneous memory arena types supporting operations that do not guarantee memory safety.
- Unsafe
Arena With Membership Check - Homogeneous memory arena types capable of checking whether a given pointer was created by the same instance of the arena.