Skip to main content

ctor_layout

Function ctor_layout 

Source
pub fn ctor_layout(sizes: &[u32]) -> (Vec<u32>, u32, u32)
Expand description

The layout of a constructor whose fields have the Model::SCALAR_SIZEs sizes, as Lean lays it out: object fields first in their order, then the scalar fields by decreasing size. Per field: the object index or the byte offset in the scalar area; and the number of object fields and the size of the scalar area.