Skip to content

ValueWitnessTable_Flags

Azoy edited this page Mar 17, 2021 · 2 revisions

ValueWitnessTable.Flags

The flags that describe some value witness table.

public struct Flags

Properties

bits

Flags as represented in bits.

let bits: UInt32

alignment

The alignment for this type.

var alignment: Int

isValueInline

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

var isValueInline: Bool

isPOD

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

var isPOD: Bool

isBitwiseTakable

Whether or not this type is bitwise takable.

var isBitwiseTakable: Bool

hasEnumWitnesses

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

var hasEnumWitnesses: Bool

isIncomplete

Whether or not this value witness table is incomplete.

var isIncomplete: Bool
Types
Protocols
Global Variables
Global Functions

Clone this wiki locally