Rust 通過關鍵字匹配,可用於像C開關提供模式匹配。 fn main() { let number = 13; ... Match is an expression too let binary = match boolean { // The arms of a ...
確定! 回上一頁