Closed
Description
Several times I found myself in need to derive traits that are not autogenerated by bindgen, and, unfortunately, Rust doesn't allow to put a derive
directive (or any attribute) at distance from the original type, even in the same file.
Would it make sense to provide ability to add custom derives or even any attributes to generated types via ParseCallbacks
or some other mechanism?