Rust only has safe unions, so interoperating with C unions is ugly. One approach to this 'unsafe enums' is proposed in https://github.com/rust-lang/rfcs/pull/724.
Activity
huonw commentedon Jan 5, 2016
Relevant discussion:
joshtriplett commentedon Jan 5, 2016
RFC pull request: #1444
alexcrichton commentedon Feb 11, 2016
cc #371
Stebalien commentedon Aug 19, 2016
Triage: fixed by #1444