Skip to content

ProtocolDescriptor_Flags

Azoy edited this page May 6, 2021 · 2 revisions

ProtocolDescriptor.Flags

The flags that describe a protocol descriptor.

public struct Flags 

Properties

bits

Flags as represented in bits.

public let bits: UInt16

hasClassConstraint

Whether this protocol descriptor has a class constraint. E.g. AnyObject constraint.

public var hasClassConstraint: Bool 

isResilient

Whether this protocol is built for resilience.

public var isResilient: Bool 

specialProtocol

The special protocol kind this protocol is, if it is one.

public var specialProtocol: SpecialProtocol 
Types
Protocols
Global Variables
Global Functions
Clone this wiki locally