Sign in

Module 4

Pattern Matching

Start module

We'll dive deep into Rust's exceptional pattern matching feature set, looking at how we can match against entire expressions, break down patterns and destructure values and take advantage of pattern matching inside of various control structures.

  1. 1

    Match expressions

  2. 2

    Ranges

  3. 3

    Destructuring values

  4. 4

    Bindings

  5. 5

    Pattern matching in control structures