Skip to content

ModuleDescriptor

tevelee edited this page Jul 21, 2026 · 1 revision

ModuleDescriptor

A module descriptor that describes some Swift module.

public struct ModuleDescriptor: ContextDescriptor, LayoutWrapper 

ABI Stability: Stable since the following

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

Inheritance

ContextDescriptor, LayoutWrapper

Properties

ptr

Backing context descriptor pointer.

public let ptr: UnsafeRawPointer

name

The name of the compiled Swift module.

public var name: String 
Types
Protocols
Global Typealiases
Global Variables
Global Functions

Clone this wiki locally