Docs.rs
cbindgen-0.29.2
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
cbindgen 0.29.2
A tool for generating C bindings to Rust code.
Crate
Source
Builds
Feature flags
Documentation
Hide files
..
abi_string.rs
alias.rs
annotation.rs
array.rs
array.toml
as_ty.rs
asserted_cast.rs
asserted_cast.toml
assoc_const_conflict.rs
assoc_constant.rs
associated_constant_panic.rs
associated_in_body.rs
associated_in_body.toml
bitflags.rs
bitflags.toml
body.rs
body.toml
box.rs
box.toml
cdecl.rs
cell.rs
cfg.rs
cfg.toml
cfg_2.rs
cfg_2.toml
cfg_field.rs
char.rs
const_conflict.rs
const_generics.rs
const_generics_arrayvec.rs
const_generics_bool.rs
const_generics_byte.rs
const_generics_char.rs
const_generics_constant.rs
const_generics_thru.rs
const_transparent.rs
constant.rs
constant_big.rs
constant_constexpr.rs
constant_constexpr.toml
constant_sort_name.rs
constant_sort_name.toml
constant_sort_none.rs
constant_user_defined_type.rs
custom_header.rs
custom_header.toml
cython_options.rs
cython_options.toml
decl_name_conflicting.rs
deprecated.rs
deprecated.toml
derive_ostream.rs
destructor_and_copy_ctor.rs
destructor_and_copy_ctor.toml
display_list.rs
doclength_short.rs
doclength_short.toml
docstyle_auto.rs
docstyle_auto.toml
docstyle_c99.rs
docstyle_c99.toml
docstyle_doxy.rs
docstyle_doxy.toml
documentation.rs
documentation_attr.rs
duplicated_constants.rs
enum.rs
enum.toml
enum_discriminant.rs
enum_discriminant.toml
enum_self.rs
enum_self_flags.rs
enum_self_flags.toml
euclid.rs
exclude_generic_monomorph.rs
exclude_generic_monomorph.toml
export_name.rs
extern.rs
extern_2.rs
fns.rs
forward_declaration.rs
forward_declaration.toml
function_args.rs
function_noreturn.rs
function_noreturn.toml
function_ptr.rs
function_sort_name.rs
function_sort_name.toml
function_sort_none.rs
generic_defaults.rs
generic_pointer.rs
global_attr.rs
global_variable.rs
ignore.rs
impl_unsafe_attr_method.rs
include.rs
include.toml
include_guard.rs
include_guard.toml
include_item.rs
include_item.toml
include_specific.rs
include_specific.toml
infinite_recursion_typedef_monomorph.rs
inner_mod.rs
item_types.rs
item_types.toml
item_types_renamed.rs
item_types_renamed.toml
layout.rs
layout.toml
layout_aligned_opaque.rs
layout_aligned_opaque.toml
layout_packed_opaque.rs
layout_packed_opaque.toml
lifetime_arg.rs
linestyle_cr.rs
linestyle_cr.toml
linestyle_crlf.rs
linestyle_crlf.toml
linestyle_lf.rs
linestyle_lf.toml
mangle.rs
mangle.toml
manuallydrop.rs
manuallydrop.toml
maybeuninit.rs
maybeuninit.toml
monomorph_1.rs
monomorph_2.rs
monomorph_3.rs
must_use.rs
must_use.toml
namespace_constant.rs
namespace_constant.toml
namespaces_constant.rs
namespaces_constant.toml
nested_import.rs
no_includes.rs
no_includes.toml
non_pub_extern.rs
nonnull.rs
nonnull_attribute.rs
nonnull_attribute.toml
nonzero.rs
nonzero.toml
nullable.rs
nullable_attribute.rs
nullable_attribute.toml
opaque.rs
opaque.toml
pin.rs
pin.toml
pragma_once.skip_warning_as_error.rs
pragma_once.skip_warning_as_error.toml
prefix.rs
prefix.toml
prefixed_struct_literal.rs
prefixed_struct_literal.toml
prefixed_struct_literal_deep.rs
prefixed_struct_literal_deep.toml
ptrs_as_arrays.rs
raw_ident.rs
raw_lines.rs
raw_lines.toml
rename.rs
rename.toml
rename_associated_constant.rs
rename_associated_constant.toml
rename_case.rs
renaming_overrides_prefixing.rs
renaming_overrides_prefixing.toml
reserved.rs
sentinel.rs
sentinel.toml
simplify_option_ptr.rs
size_types.rs
size_types.toml
static.rs
std_lib.rs
struct.rs
struct_literal.rs
struct_literal_order.rs
struct_self.rs
style_crash.rs
swift_name.rs
swift_name.toml
transform_op.rs
transform_op.toml
transparent.rs
typedef.rs
union.rs
union_self.rs
unsafe_cell.rs
using_namespaces.rs
using_namespaces.toml
va_list.rs
zst.rs
1
2
3
#
[
no_mangle
]
pub
extern
"
C
"
fn
root
(
)
{
}