enum TypeShape
source · line 4public enum TypeShape
The structural category of a concrete type and its category-specific declaration metadata.
variant Function
source · line 44Function(FunctionTypeInfo)
Describes the Function category of concrete type metadata.
field _
source · line 44FunctionTypeInfo
parameter _
source · line 44FunctionTypeInfo
variant Unit
source · line 36Unit
Describes the Unit category of concrete type metadata.
variant Enum
source · line 12Enum(EnumInfo)
Describes the Enum category of concrete type metadata.
field _
source · line 12EnumInfo
parameter _
source · line 12EnumInfo
variant Pointer
source · line 48Pointer(PointerTypeInfo)
Describes the Pointer category of concrete type metadata.
parameter _
source · line 48PointerTypeInfo
field _
source · line 48PointerTypeInfo
variant Interface
source · line 28Interface(InterfaceInfo)
Describes the Interface category of concrete type metadata.
parameter _
source · line 28InterfaceInfo
field _
source · line 28InterfaceInfo
variant Struct
source · line 8Struct(StructInfo)
Describes the Struct category of concrete type metadata.
field _
source · line 8StructInfo
parameter _
source · line 8StructInfo
variant Object
source · line 24Object(ObjectInfo)
Describes the Object category of concrete type metadata.
parameter _
source · line 24ObjectInfo
field _
source · line 24ObjectInfo
variant IntegerEnum
source · line 16IntegerEnum(IntegerEnumInfo)
Describes the IntegerEnum category of concrete type metadata.
parameter _
source · line 16IntegerEnumInfo
field _
source · line 16IntegerEnumInfo
variant Tuple
source · line 32Tuple(TupleInfo)
Describes the Tuple category of concrete type metadata.
field _
source · line 32TupleInfo
parameter _
source · line 32TupleInfo
variant Class
source · line 20Class(ClassInfo)
Describes the Class category of concrete type metadata.
field _
source · line 20ClassInfo
parameter _
source · line 20ClassInfo
variant Intrinsic
source · line 40Intrinsic(IntrinsicInfo)
Describes the Intrinsic category of concrete type metadata.
parameter _
source · line 40IntrinsicInfo
field _
source · line 40IntrinsicInfo
function equals
source · line 4operator fun equals(other: TypeShape): Boolean
This derived operation is available when each field or payload type supports same-type equality. Required types: StructInfo, EnumInfo, IntegerEnumInfo, ClassInfo, ObjectInfo, InterfaceInfo, TupleInfo, IntrinsicInfo, FunctionTypeInfo, PointerTypeInfo.