Terms From The Rust Book

Associated function: A function that's implemented on a type, e.g. String::new("hi").

Each member of an Enum is called a "variant".

Each part of a match block is called an "arm".

smiley picture of shaven-head Zev

American programmer living in Switzerland. Constant learner, chess improver, speech-to-text. 🌼