Let's Learn Rust: Enums and Simple Matching

2 years ago
52

Enumerated types allow for clearer code and more compile time checks as well as being easy to pattern match with the match keyword.

Hope you enjoyed the video!

Check out this code here:
https://github.com/engineer-man/youtube/tree/master/082

Join my Discord server and come say hi:
https://discord.gg/engineerman

Check out some code on my GitHub:
https://github.com/realtux
https://github.com/engineer-man/youtube

Send me a Gab:
https://gab.com/engineerman

Other Social:
https://reddit.com/r/engineerman
https://twitter.com/_EngineerMan
https://www.facebook.com/engineermanyt

Loading comments...