Docs.rs
cbindgen-0.8.6
Platform
i686-apple-darwin
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
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.8.6
A tool for generating C bindings to Rust code.
Crate
Source
Builds
Feature flags
Documentation
Hide files
..
alias.rs
annotation.rs
array.rs
array.toml
asserted-cast.rs
asserted-cast.toml
assoc_const_conflict.rs
assoc_constant.rs
associated_in_body.rs
associated_in_body.toml
bitflags.rs
bitflags.toml
body.rs
body.toml
cdecl.rs
cfg-2.rs
cfg-2.toml
cfg-field.rs
cfg.rs
cfg.toml
const_conflict.rs
const_transparent.rs
constant.rs
destructor.rs
destructor.toml
display_list.rs
docstyle_auto.rs
docstyle_auto.toml
docstyle_c99.rs
docstyle_c99.toml
docstyle_doxy.rs
docstyle_doxy.toml
enum.rs
euclid.rs
extern-2.rs
extern.rs
fns.rs
global_attr.rs
include.rs
include.toml
include_item.rs
include_item.toml
include_specific.rs
include_specific.toml
inner_mod.rs
item_types.rs
item_types.toml
item_types_renamed.rs
item_types_renamed.toml
lifetime_arg.rs
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
nonnull.rs
prefix.rs
prefix.toml
prefixed_struct_literal.rs
prefixed_struct_literal.toml
prefixed_struct_literal_deep.rs
prefixed_struct_literal_deep.toml
rename.rs
rename.toml
renaming-overrides-prefixing.rs
renaming-overrides-prefixing.toml
reserved.rs
simplify-option-ptr.rs
static.rs
std_lib.rs
struct.rs
struct_literal.rs
style-crash.rs
transform-op.rs
transform-op.toml
transparent.rs
typedef.rs
union.rs
va_list.rs
1
2
3
4
5
6
7
#
[
repr
(
C
)
]
enum
Foo
{
A
(
[
f32
;
20
]
)
}
#
[
no_mangle
]
pub
extern
"
C
"
fn
root
(
a
:
Foo
)
{
}