Getting Started with Rust – Enums

Enums in Rust have some properties over and above those found in C/C++ Data can be associated with them Methods can be implemented for an enum The final item in the list was only briefly covered in chapter 6 of The Rust Programming Language book so we will expand on this here. Simple Enums As [ ]