Skip to content

TypeMetadata

0x41c edited this page Jun 15, 2022 · 3 revisions

TypeMetadata

public protocol TypeMetadata: StructureRepresentation 

Inheritance

StructureRepresentation

Default Implementations

type

The type that the metadata represents.

var type: Any.Type 

valueWitnessTable

The types VWT located right before the base of the type structure.

var valueWitnessTable: ValueWitnessTable 

kind

The kind of the metadata

var kind: TypeMetadataKind 

init(withType:)

Initializes the representation of the metadata with the type it's representing.

init(withType _type: Any.Type) 
  • _type: The type to represent the metadata of.

Requirements

MetadataStructure

associatedtype MetadataStructure = InternalRepresentation
Types
Protocols
Global Typealiases
Global Functions
Clone this wiki locally