Skip to content

MetadataKind

tevelee edited this page Jul 21, 2026 · 2 revisions

MetadataKind

A discriminator that determines what type of metadata this is.

public enum MetadataKind: Int 

Inheritance

Int

Enumeration Cases

`class`

case `class` = 0

`struct`

case `struct` = 512

`enum`

case `enum` = 513

optional

case optional = 514

foreignClass

case foreignClass = 515

opaque

case opaque = 768

tuple

case tuple = 769

function

case function = 770

existential

case existential = 771

metatype

case metatype = 772

objcClassWrapper

case objcClassWrapper = 773

existentialMetatype

case existentialMetatype = 774

heapLocalVariable

case heapLocalVariable = 1024

heapGenericLocalVariable

case heapGenericLocalVariable = 1280

errorObject

case errorObject = 1281
Types
Protocols
Global Typealiases
Global Variables
Global Functions

Clone this wiki locally