std::core::mem

new_array_aligned

macro new_array_aligned($Type, usz elements) @nodiscard
Allocate using an aligned allocation. This is necessary for types with a default memory alignment
exceeding DEFAULT_MEM_ALIGNMENT. IMPORTANT! It must be freed using free_aligned.

Parameters