EnumValue
Allocate a new EnumValue.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Allocate a new EnumValue using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
The AutofreeScope to allocate this structure in.
Allocate a new EnumValue.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Parameters
the enum value
the name of the value
the nickname of the value
Allocate a new EnumValue using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
the enum value
the name of the value
the nickname of the value
The AutofreeScope to allocate this structure in.