Enums using structs that contain arrays attempt to call unimplemented operator==
While working on WebRender code I ran into an issue with adding new enum cases that use structs which contain arrays, the C++ header code for the enum attempts to use operator== on the structs that contain arrays of structs, which predictably does not actually work as arrays do not implement operator==. Enum cases that directly contain arrays work fine as it does not generate operator== methods for those enum cases.
The enums I am working with don't actually need == to work as far as I know; they certainly do not need it on the Rust side and I don't think the C++ code interfacing with it needs comparisons either.
I've worked around this bug by putting arrays directly in the enum but it's certainly not elegant, so here's a bug :)
Reduced test case (thanks to jrmuizel for making this reduced test case!) : cbindgen.toml cbindgen-enum-using-struct-containing-array.rs