Some C APIs have structs that use bitfields, and these are rather cumbersome to use from rust right now. Perhaps we should have some kind of support for this, or at least a macro that takes care of it.
This has come up specifically with Azure used in Servo.