Skip to content

GenericParameterDescriptor

tevelee edited this page Jul 25, 2026 · 2 revisions

GenericParameterDescriptor

The flags that describe a generic parameter.

public struct GenericParameterDescriptor 

Properties

bits

Flags as represented in bits.

public let bits: UInt8

kind

The kind of generic parameter this is.

public var kind: GenericParameterKind 

hasExtraArgument

This bit is reserved for compatibility with pre-Swift 5.8 runtimes and must not be interpreted as an extra argument in current metadata.

public var hasExtraArgument: Bool 

hasKeyArgument

"Key" refers to a generic param whose metadata is provided at runtime. Non-key would mean we derive the generic parameter from elsewhere.

public var hasKeyArgument: Bool 
Types
Protocols
Global Typealiases
Global Variables
Global Functions

Clone this wiki locally