Skip to content

HeapGenericLocalVariableMetadata

tevelee edited this page Jul 21, 2026 · 1 revision

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 Typealiases
Global Variables
Global Functions

Clone this wiki locally