Crate swift_bridge_ir[][src]

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

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

#\[swift_bridge::bridge(swift_bridge_path = swift_bridge\]

Enums

#\[swift_bridge::bridge(swift_bridge_path = swift_bridge\]