Skip to content

HeapGenericLocalVariableMetadata

Azoy edited this page May 6, 2021 · 2 revisions

HeapGenericLocalVariableMetadata

The metadata structure that represents generic boxes that are instantiated at runtime.

public struct HeapGenericLocalVariableMetadata: 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 heap generic local variable metadata pointer.

public let ptr: UnsafeRawPointer

offset

The offset from the box pointer to the value.

public var offset: Int 

boxedType

The boxed type.

public var boxedType: Any.Type 

boxedMetadata

The metadata for the boxed type.

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