Skip to main content

size_aligned

Function size_aligned 

Source
pub fn size_aligned(size_stack: usize, size_heap: usize, align: usize) -> usize
Expand description

add the alignment buffer to a structure

  • size_heap: contents of boxes/vectors -> are stored separately and do not go into alignment calculation