Skip to main content

offsets

Function offsets 

Source
pub const fn offsets(counts: Counts, units: RegionUnits) -> Offsets
Expand description

Place every region and report the offsets, total size and alignment.

Reproduces #[repr(C)] declaration-order layout: the arena first at offset 0, then each table aligned up to its own element alignment, and the total rounded up to the maximum alignment seen.