pub const fn is_append_compatible<Old: FixedLayout, New: FixedLayout>() -> boolExpand description
Check if a migration from OldLayout to NewLayout would be append-compatible.
Append-compatible means:
- New layout is strictly larger
- The first
old_sizebytes can stay as-is - Only new fields were added at the end
This is a compile-time check helper – use in tests and CI.