Skip to content

NonUniqueExtendedExistentialTypeShape

tevelee edited this page Jul 25, 2026 · 1 revision

NonUniqueExtendedExistentialTypeShape

A compiler-emitted constrained-existential shape that the Swift runtime uniquifies before it creates metadata.

public struct NonUniqueExtendedExistentialTypeShape: LayoutWrapper 

Its cache is runtime-owned mutable storage. Echo exposes the cache address and the embedded shape for inspection, but never reads or writes the cache value itself.

Inheritance

LayoutWrapper

Properties

ptr

Backing non-unique shape pointer.

public let ptr: UnsafeRawPointer

uniquenessCache

The runtime-owned cache used to store the globally unique shape.

public var uniquenessCache: UnsafeRawPointer? 

This is the address of the cache storage, not its transient contents.

localShape

The local extended-existential shape copied into this record.

public var localShape: ExtendedExistentialTypeShape 
Types
Protocols
Global Typealiases
Global Variables
Global Functions

Clone this wiki locally