Skip to content

GenericRequirementDescriptor_Flags

tevelee edited this page Jul 25, 2026 · 2 revisions

GenericRequirementDescriptor.Flags

The flags that describe a generic requirement.

public struct Flags 

Properties

bits

Flags as represented in bits.

public let bits: UInt32

kind

The kind of generic requirement this is.

public var kind: GenericRequirementKind 

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 

isPackRequirement

Whether the subject of this requirement is a parameter pack.

public var isPackRequirement: Bool 

hasKeyArgument

Whether this generic requirement has a "key" argument.

public var hasKeyArgument: Bool 

isValueRequirement

Whether the subject of this requirement is a value parameter.

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

Clone this wiki locally