Function get_layout
Source pub fn get_layout(size: usize, align: usize) -> *mut u8
Expand description
Allocate memory with the specified size and alignment.
§Arguments
size - The size of the memory to allocate.
align - The alignment requirement for the memory.
§Returns
A pointer to the allocated memory.