Expand description
flapigen
is a Rust Simplified Wrapper and Interface Generator used
to connect other programming languages to Rust.
It is designed to be used from
cargo build scripts.
The idea of this softwared based on swig.
More details can be found at
README
Modules§
Structs§
- CppConfig
- Configuration for C++ binding generation
- CppOptional
Iter - An iterator over the variants of CppOptional
- CppStr
View Iter - An iterator over the variants of CppStrView
- CppVariant
Iter - An iterator over the variants of CppVariant
- Generator
Generator
is a main point offlapigen
. It expands rust macroses and generates not rust code. It designed to use insidebuild.rs
.- Java
Config - Configuration for Java binding generation
- Method
Info - Python
Config - Configuration for Python binding generation
Enums§
- CppOptional
- To which
C++
type mapstd::option::Option
- CppStr
View - To whcih
C++
type map&str
- CppVariant
- To which
C++
type mapstd::result::Result
- Java
Reachability Fence - What reachability fence to use
- Language
Config LanguageConfig
contains configuration for specific programming language- Method
Variant
Functions§
- target_
pointer_ width_ from_ env - Calculate target pointer width from environment variable
that
cargo
inserts