6 ms·
Is SO really the best place for asking the most basic questions when it is covered in almost all basic documentation? Searching "rust enum" gives me https://do
by Laaas 4y ago
Is SO really the best place for asking the most basic questions when it is covered in almost all basic documentation?
Searching "rust enum" gives me https://doc.rust-lang.org/rust-by-example/custom_types/enum.html https://doc.rust-lang.org/rust-by-example/custom_types/enum.... immediately.
Perhaps it is worth it to put it on SO, but it's akin to asking "how do I access the field of an object in JS".