struct IntegerEnumInfo
source · line 68public
public struct IntegerEnumInfo(val underlyingType: TypeRef, val variants: Array<IntegerEnumVariantInfo>, val interfaces: Array<TypeUseInfo>)
The underlying integer type, declared values, and interfaces of an integer-backed enum.
field interfaces
source · line 71public
val interfaces: Array<TypeUseInfo>
field underlyingType
source · line 69public
val underlyingType: TypeRef
field variants
source · line 70public
val variants: Array<IntegerEnumVariantInfo>
constructor constructor
source · line 68public
constructor(val underlyingType: TypeRef, val variants: Array<IntegerEnumVariantInfo>, val interfaces: Array<TypeUseInfo>)
parameter underlyingType
source · line 69public
val underlyingType: TypeRef
parameter variants
source · line 70public
val variants: Array<IntegerEnumVariantInfo>
parameter interfaces
source · line 71public
val interfaces: Array<TypeUseInfo>
function equals
source · line 68publiccompiler-derived
operator fun equals(other: IntegerEnumInfo): Boolean
This derived operation is available when each field or payload type supports same-type equality. Required types: TypeRef, Array<IntegerEnumVariantInfo>, Array<TypeUseInfo>.