Crate cbindgen

source ·

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 to apply to generated enums.
Settings to apply when exporting items.
Settings to apply to generated functions.
Settings to apply when parsing.
Settings to apply when running rustc --pretty=expanded
Settings to apply to generated structs.

Enums

A style of braces to use for generating code.
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.
A rule to apply to an identifier when generating bindings.
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.