Skip to content

GenericWitnessTable

tevelee edited this page Jul 25, 2026 · 1 revision

GenericWitnessTable

Instantiation layout information for a generic witness table.

public struct GenericWitnessTable: LayoutWrapper 

Inheritance

LayoutWrapper

Properties

sizeInWords

The size of the instantiated witness table in machine words.

public var sizeInWords: Int 

privateSizeInWords

The amount of private storage before the witness-table address point.

public var privateSizeInWords: Int 

requiresInstantiation

Whether the runtime must invoke the instantiator for this table.

public var requiresInstantiation: Bool 

instantiator

The opaque instantiation function pointer, if present.

public var instantiator: UnsafeRawPointer? 

privateData

Private instantiation data, if the compiler emitted it.

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

Clone this wiki locally