std
::
core
::
mem
alloc_aligned
macro
alloc_aligned
(
$Type
)
@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