Skip to content

FunctionMetadata_ParamFlags

Azoy edited this page Mar 17, 2021 · 2 revisions

FunctionMetadata.ParamFlags

The flags that represent some function parameter.

public struct ParamFlags

Properties

bits

Flags as represented in bits.

let bits: UInt32

valueOwnership

The value ownership kind for this parameter.

var valueOwnership: ValueOwnership

isVariadic

Whether or not this parameter is variadic. E.g. Int...

var isVariadic: Bool

isAutoclosure

Whether or not this parameter is marked @autoclosure

var isAutoclosure: Bool
Types
Protocols
Global Variables
Global Functions

Clone this wiki locally