Structs

Functions

  • Extern functions can be saved in another header file. Particularly useful while importing C methods in Swift.
  • Function generates a C header that can be used as an Objective-C bridging layer to the compiled Rust static library.
  • Translates rust enum into its C equivalents. For any Rust enum only a C enum class representation is generated (for both unit and field enums).