summaryrefslogtreecommitdiff
path: root/src/codegen/struct_layout.rs
diff options
context:
space:
mode:
authorVarphone Wong <varphone@qq.com>2020-11-25 17:24:46 +0800
committerEmilio Cobos Álvarez <emilio@crisal.io>2020-11-26 11:12:02 +0100
commitd8082613e2c33efbd7b5347d4c1809578d49bd7b (patch)
tree44d0ed6a92b46bbb75f02536d4d52291c6787348 /src/codegen/struct_layout.rs
parent30fb4eccb3cf3068e4132e68ba832ec148c2b786 (diff)
Add --no-default <regex> flag
Sometimes, we need customize the implement of `Default` for certain types, In these cases, the `nodefault` annotation can be used to prevent bindgen to autoderive the `Default` traits for a type.
Diffstat (limited to 'src/codegen/struct_layout.rs')
0 files changed, 0 insertions, 0 deletions