diff options
author | Varphone Wong <varphone@qq.com> | 2020-11-25 17:24:46 +0800 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2020-11-26 11:12:02 +0100 |
commit | d8082613e2c33efbd7b5347d4c1809578d49bd7b (patch) | |
tree | 44d0ed6a92b46bbb75f02536d4d52291c6787348 /src/codegen/struct_layout.rs | |
parent | 30fb4eccb3cf3068e4132e68ba832ec148c2b786 (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