Skip to content

SingletonMetadataInitialization

tevelee edited this page Jul 25, 2026 · 2 revisions

SingletonMetadataInitialization

Structure that contains information needed to perform initialization of singleton value metadata.

public struct SingletonMetadataInitialization: LayoutWrapper 

Inheritance

LayoutWrapper

Properties

initializationCache

The runtime-owned mutable initialization cache, if the compiler emitted one. Its contents are intentionally not decoded or mutated by Echo.

public var initializationCache: UnsafeRawPointer? 

initialMetadataOrResilientPattern

The union target used by this record. It is incomplete metadata for value types and classes without resilient ancestry, or a resilient class metadata pattern for classes with resilient ancestry.

public var initialMetadataOrResilientPattern: UnsafeRawPointer? 

completionFunction

The runtime-private function that completes this metadata initialization. It is exposed for inspection only and must not be invoked by clients.

public var completionFunction: UnsafeRawPointer? 
Types
Protocols
Global Typealiases
Global Variables
Global Functions

Clone this wiki locally