TypeParameter

interface TypeParameter

A generic type parameter used in the declaration of a struct or enum.

Properties

Link copied to clipboard
abstract val constraints: List<Ability>

The type parameter constraints

Link copied to clipboard
abstract val isPhantom: Boolean?

Whether the parameter is declared as phantom

Link copied to clipboard

Returns the field-presence view for this TypeParameter instance.

Functions

Link copied to clipboard
Link copied to clipboard
fun TypeParameter.copy(body: <Error class: unknown class>.() -> Unit = {}): TypeParameter

Copies the original message, including unknown fields.