|
|
|
|
|
by ChrisSD
2222 days ago
|
|
I think that's a good thing. A C "enum" is just a shorthand for declaring an int alias and some constants. You can do that in Rust easily enough. A Rust enum is an actual enumeration type, which C does not have. This is far more powerful. |
|