Skip to content

EnumMetadata

Azoy edited this page May 6, 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

TypeMetadata, LayoutWrapper

Properties

ptr

Backing enum metadata pointer.

public let ptr: UnsafeRawPointer

descriptor

The enum context descriptor that describes this enum.

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