Structs (or Structures) and Traits which are key building blocks for any well composed Rust programs, allow you to group common properties and methods as well as compose reusable and generic functionality.
Hope you enjoyed the video!
Check out this code here:
https://github.com/engineer-man/youtube-code/tree/master/084
Join my Discord server to chat with me:
https://discord.gg/engineerman
Check out some code on my GitHub:
https://github.com/realtux
https://github.com/engineer-man/youtube
Come visit us on Reddit:
https://reddit.com/r/engineerman
Other Social:
https://twitter.com/_EngineerMan
https://www.facebook.com/engineermanyt