Module java.base

Interface StructLayout

All Superinterfaces:
GroupLayoutPREVIEW, MemoryLayoutPREVIEW

public sealed interface StructLayout extends GroupLayoutPREVIEW
StructLayout is a preview API of the Java platform.
Programs can only use StructLayout when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
A group layout whose member layouts are laid out one after the other.
Implementation Requirements:
Implementing classes are immutable, thread-safe and value-based.
Since:
20