Skip to content

ValueWitnessTable_Flags

Azoy edited this page May 6, 2021 · 2 revisions

ValueWitnessTable.Flags

The flags that describe some value witness table.

public struct Flags 

Properties

bits

Flags as represented in bits.

public let bits: UInt32

alignment

The alignment for this type.

public var alignment: Int 

isValueInline

Whether or not this value can be stored inline in an existential container.

public var isValueInline: Bool 

isPOD

Whether or not this type is a "plain old datatype"

public var isPOD: Bool 

isBitwiseTakable

Whether or not this type is bitwise takable.

public var isBitwiseTakable: Bool 

hasEnumWitnesses

Whether or not this value witness table has enum witnesses. This is only true for enum and optional metadata.

public var hasEnumWitnesses: Bool 

isIncomplete

Whether or not this value witness table is incomplete.

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