Rust Programming Tutorial #10 - Enum Types

Published: 11 November 2017
on channel: dcode
40,191
670

Reference and documentation for Rust:
https://doc.rust-lang.org/book/second...

Refer to the above to find out how you can store data in variations.

Today we look at Enum Types in Rust - Enums provide a way to express your code in a descriptive and simple way. For example, when dealing with directions of a player in a game you might want to store all their possible directions in an Enum, having the variants Up, Down, Left and Right.

If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!


On this page of the site you can watch the video online Rust Programming Tutorial #10 - Enum Types with a duration of hours minute second in good quality, which was uploaded by the user dcode 11 November 2017, share the link with friends and acquaintances, this video has already been watched 40,191 times on youtube and it was liked by 670 viewers. Enjoy your viewing!