Skip to content

GenericParameterKind

tevelee edited this page Jul 25, 2026 · 2 revisions

GenericParameterKind

A discriminator to determine what type of parameter a generic parameter is.

public enum GenericParameterKind: UInt8 

Inheritance

UInt8

Enumeration Cases

type

An ordinary type parameter, such as T.

case type = 0x0

typePack

A type parameter pack, such as each T.

case typePack = 0x1

value

A value parameter, such as an integer generic parameter.

case value = 0x2
Types
Protocols
Global Typealiases
Global Variables
Global Functions

Clone this wiki locally