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 struct layout where member layouts are laid out one after the other (see MemoryLayout.structLayout(MemoryLayout...)PREVIEW).
Implementation Requirements:
Implementing classes are immutable, thread-safe and value-based.