Rust provides pattern matching via the match keyword, which can be used like a C switch . The first matching arm ... Handle the rest of cases. _ => println!
確定! 回上一頁