Expand description

An intermediate representation of the FFI layer.

Things annotated with the #[swift_bridge::bridge] attribute get parsed into this IR.

This IR is then used to generate the C header files, Objective-C bridging headers, Swift code, and Rust code needed to power Rust + Swift interop.

Structs

Configuration for how we will generate our Swift code.

Represents a type definition within an extern "Rust" module, as well as all of its methods.

The ... in #\[swift_bridge::bridge(...)\]

Enums

An attribute within a #\[swift_bridge::bridge(...)\]