Class FFM.StructBinderBuilder<T>
java.lang.Object
org.lwjgl.system.ffm.FFM.GroupLayoutBuilder<StructLayout, StructBinder<T>, FFM.StructBinderBuilder<T>>
org.lwjgl.system.ffm.FFM.GroupBinderBuilder<T, StructLayout, StructBinder<T>, FFM.StructBinderBuilder<T>>
org.lwjgl.system.ffm.FFM.StructBinderBuilder<T>
- Enclosing class:
FFM
public static final class FFM.StructBinderBuilder<T>
extends FFM.GroupBinderBuilder<T, StructLayout, StructBinder<T>, FFM.StructBinderBuilder<T>>
A builder for
StructBinder instances.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Generates a class that implements theStructBinderinterface for the struct type using the current builder state, then returns a new instance of that class.Methods inherited from class FFM.GroupBinderBuilder
withEquals, withHashCode, withToStringMethods inherited from class FFM.GroupLayoutBuilder
alignas, automaticPadding, checkPadding, m, pack, padding, struct, struct, union, union
-
Method Details
-
build
Generates a class that implements theStructBinderinterface for the struct type using the current builder state, then returns a new instance of that class.- Overrides:
buildin classFFM.GroupBinderBuilder<T, StructLayout, StructBinder<T>, FFM.StructBinderBuilder<T>>- Returns:
- the
StructBinderimplementation
-