match 匹配match匹配Rust通过match关键字来提供模式匹配,用法和C语言的的switch类似。fnmain(){letnumber=13;//试一试^将不同的值赋给`number`println ...
確定! 回上一頁