Expand description
Macros§
- arena
- 🏗️ 🧺 A custom memory arena generator.
Structs§
- Alloc
- 🧺 🛠️ Memory-allocation-related operations.
- Arena
Example - ✨ 🧺 An example memory arena.
- Arena
Handle Example - ✨ 🧺 An example memory arena handle.
- Arena
Mark Example - ✨ 🧺 An example memory arena mark.
- BareBox
- ∅ 🫗
A no-op pointer type, like a
Boxbut without affecting howTis stored. - Boxed
alloc - 🫗
A zero-sized marker for a
Storagetype that wraps its data in aBox. - Bump
Alloc allocandunsafe_layout - 🧺 A simple, single-threaded bump allocator.
- Linux
Mmap Alloc Linux and allocandunsafe_layoutand (stdorunsafe_ffi) - 🐧 🧺
A Linux global memory allocator backed directly by anonymous
mmap. - MemLayout
alloc - 🧺
allocLayout of a block of memory. - MemLayout
Error alloc - 🧺 🚩
allocTheMemLayoutparameters violated constraints. - System
Alloc std - 🧺
stdThe default memory allocator provided by the operating system. - Wasm
Alloc WebAssembly and allocandunsafe_layout - ⬡ 🧺 A WebAssembly global memory allocator that uses a bump allocation strategy.
Traits§
- Global
Alloc alloc - 🧺
allocA memory allocator that can be registered as the standard library’s default. - Storage
- 🫗 Allows data structures to be generic over their storage strategy.