6.4 Pattern Matching

6.4.1: Introduction

6.4.2: Enum matching

6.4.3: Variable capture

6.4.4: Structure matching

6.4.5: Array matching

6.4.6: Or patterns

6.4.7: Guards

6.4.8: Match on multiple values

6.4.9: Extractors

6.4.10: Exhaustiveness checks

6.4.11: Useless pattern checks