Rust 提供了关键字 match 进行条件匹配,它和 c/c++ 里面的 switch 非常 ... 时候你可以使用匹配指南,它跟在匹配模式的后面,并且以 if 开头,如下: ...
確定! 回上一頁