Expand description
AlignedBump: bump arena exposing an alloc_aligned(size, align)
convenience over the base Layout-driven raw API.
The base Bump::alloc_raw already accepts an arbitrary Layout
and respects its alignment. This module exists as a focused
shape for callers who think in (bytes, alignment) pairs:
cache-line aligned scratch buffers for SIMD, page-aligned scratch
for DMA, etc.
Fixed-capacity, single chunk. Panics on OOM; use try_alloc_aligned
for the fallible form.
Structsยง
- Aligned
Bump - Bump arena exposing explicit per-allocation alignment.