在Rust 语言中,match 分支使用模式匹配(pattern matching)技术,match分支: ... let boolean = true; let binary = match boolean { false => 0, true => 1, };.
確定! 回上一頁