Skip to content

MetatypeMetadata

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

Metadata, LayoutWrapper

Properties

ptr

Backing metatype metadata pointer.

public let ptr: UnsafeRawPointer

instanceType

The instance type that this metatype wraps.

public var instanceType: Any.Type 

instanceMetadata

The metadata for the instance type this metatype wraps.

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