Skip to content

EnumMetadata

Azoy edited this page Mar 17, 2021 · 2 revisions

EnumMetadata

The metadata structure that represents an enum type in Swift.

public struct EnumMetadata: TypeMetadata, LayoutWrapper

ABI Stability: Stable since the following

| macOS | iOS/tvOS | watchOS | Linux | Windows |
|-------|----------|---------|-------|---------|
| 10.14 | 12.2     | 5.2     | NA    | NA      |

Inheritance

LayoutWrapper, TypeMetadata

Properties

ptr

Backing enum metadata pointer.

let ptr: UnsafeRawPointer

descriptor

The enum context descriptor that describes this enum.

var descriptor: EnumDescriptor
Types
Protocols
Global Variables
Global Functions
Clone this wiki locally