Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Exhaustive match?

Definition 7.5 University Computer Science — Year 2 · Bab 7 — Enums, Pattern Matching and Error Handling

A match is exhaustive if every value of the matched type matches at least one of its patterns, guards not counted. Rust accepts only exhaustive matches.

Baca dalam konteks →