Class FFM.UnionBinderBuilder<T>
java.lang.Object
org.lwjgl.system.ffm.FFM.GroupLayoutBuilder<UnionLayout, UnionBinder<T>, FFM.UnionBinderBuilder<T>>
org.lwjgl.system.ffm.FFM.GroupBinderBuilder<T, UnionLayout, UnionBinder<T>, FFM.UnionBinderBuilder<T>>
org.lwjgl.system.ffm.FFM.UnionBinderBuilder<T>
- Enclosing class:
FFM
public static final class FFM.UnionBinderBuilder<T>
extends FFM.GroupBinderBuilder<T, UnionLayout, UnionBinder<T>, FFM.UnionBinderBuilder<T>>
A builder for
UnionBinder instances.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Generates a class that implements theUnionBinderinterface for the union 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 theUnionBinderinterface for the union type using the current builder state, then returns a new instance of that class.- Overrides:
buildin classFFM.GroupBinderBuilder<T, UnionLayout, UnionBinder<T>, FFM.UnionBinderBuilder<T>>- Returns:
- the
UnionBinderimplementation
-