We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 680ebe6 commit 9029c9bCopy full SHA for 9029c9b
1 file changed
build.rs
@@ -56,6 +56,7 @@ fn main() {
56
.header("wrapper.hpp")
57
.constified_enum(".*")
58
.prepend_enum_name(false)
59
+ .derive_default(true)
60
.generate()
61
.expect("could not generate bindings")
62
.write_to_file(out_dir.join("bindings.rs"))
0 commit comments