pub fn compute(fields: &[FieldDef], mode: StructMode) -> StructLayoutExpand description
Compute the layout for a struct’s fields (which must be ID-sorted, as they are in a validated schema).
pub fn compute(fields: &[FieldDef], mode: StructMode) -> StructLayoutCompute the layout for a struct’s fields (which must be ID-sorted, as they are in a validated schema).