Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Rust enums are a form of tagged unions.

Rust unions are plain old unions that are mainly used for C interop. This is why using them requires unsafe code.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: