Skip to main content

Module raw_vec

Module raw_vec 

Expand description

Raw vector implementation for dynamic memory allocation. Aligned byte storage without ownership of values placed in its buffer.

Reserve storage before writing bytes, then expose them with RawVec::set_len. The caller remains responsible for destroying any values stored in the bytes.

Structsยง

RawVec
Stores bytes at a fixed power-of-two alignment after allocation.