Skip to content

MetatypeMetadata

Azoy edited this page Mar 17, 2021 · 2 revisions

MetatypeMetadata

The metadata structure that represents a metatype wrapping some instance type.

public struct MetatypeMetadata: Metadata, LayoutWrapper

ABI Stability: Unstable across all platforms

| macOS | iOS/tvOS | watchOS | Linux | Windows |
|-------|----------|---------|-------|---------|
| NA    | NA       | NA      | NA    | NA      |

Inheritance

LayoutWrapper, Metadata

Properties

ptr

Backing metatype metadata pointer.

let ptr: UnsafeRawPointer

instanceType

The instance type that this metatype wraps.

var instanceType: Any.Type

instanceMetadata

The metadata for the instance type this metatype wraps.

var instanceMetadata: Metadata
Types
Protocols
Global Variables
Global Functions
Clone this wiki locally