Pattern matching

From Rust Community Wiki
Revision as of 03:17, 3 June 2020 by Aloso (talk | contribs) (Add description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Pattern matching has two purposes in Rust: To check if a value has certain characteristics, and to bind parts of the value to variables.