You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
pJunger, compressed, aymericbeaumet, sevro, meme and 12 more