Rust provides pattern matching via the match keyword, which can be used like a C switch . ... Match a single value ... let binary: int = match boolean {.
確定! 回上一頁