Skip to content

FunctionMetadata_ParamFlags

Azoy edited this page May 6, 2021 · 2 revisions

FunctionMetadata.ParamFlags

The flags that represent some function parameter.

public struct ParamFlags 

Properties

bits

Flags as represented in bits.

public let bits: UInt32

valueOwnership

The value ownership kind for this parameter.

public var valueOwnership: ValueOwnership 

isVariadic

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

public var isVariadic: Bool 

isAutoclosure

Whether or not this parameter is marked @autoclosure

public var isAutoclosure: Bool 
Types
Protocols
Global Variables
Global Functions
Clone this wiki locally