Structs§
- A bindings header that can be written.
- A builder for generating a bindings header.
- A collection of settings to customize the generated bindings.
- Settings to apply to generated constants.
- Settings specific to Cython bindings.
- Settings to apply to generated enums.
- Settings to apply when exporting items.
- Settings to apply to generated functions.
- Settings to apply to generated types with layout modifiers.
- Settings for custom macro expansion.
- Mangling-specific configuration.
- Settings to apply when parsing.
- Settings to apply when running
rustc -Zunpretty=expanded
- Settings to apply to pointers
- Settings to apply to generated structs.
Enums§
- A style of braces to use for generating code.
- How much of the documentation to include in the header file.
- How the comments containing documentation should be styled.
- Different item types that we can generate and filter.
- A language type to generate bindings for.
- A type of layout to use when generating long lines of code.
- Controls what type of line endings are used in the generated code.
- Controls which Cargo profile is used for macro expansion.
- A rule to apply to an identifier when generating bindings.
- Type which specifies the sort order of functions
- A style of Style to use when generating structs and enums.
Constants§
Functions§
- A utility function for build scripts to generate bindings for a crate, using a
cbindgen.toml
if it exists. - A utility function for build scripts to generate bindings for a crate with a custom config.