Skip to content

FieldDescriptor

Azoy edited this page May 6, 2021 · 2 revisions

FieldDescriptor

A special descriptor that describes a type's fields.

public struct FieldDescriptor: LayoutWrapper 

ABI Stability: Stable since the following

| macOS | iOS/tvOS | watchOS | Linux | Windows |
|-------|----------|---------|-------|---------|
| 10.14 | 12.2     | 5.2     | NA    | NA      |

Inheritance

LayoutWrapper

Properties

hasMangledTypeName

Whether or not this field descriptor has a mangled name.

public var hasMangledTypeName: Bool 

mangledTypeName

The mangled name for this field descriptor.

public var mangledTypeName: UnsafeRawPointer 

superclass

The superclass mangled name for a class.

public var superclass: UnsafeRawPointer 

kind

The kind of field descriptor this is.

public var kind: Kind 

recordSize

The size in bytes of each field record.

public var recordSize: Int 

numFields

The number of fields (properties) that this type declares.

public var numFields: Int 

records

An array of this type's field records.

public var records: [FieldRecord] 
Types
Protocols
Global Variables
Global Functions
Clone this wiki locally