match 本身也是个表达式,Rust就是基于表达式的语言。 ... ChangeColor(i32, i32, i32), Move { x: i32, y: i32 }, Write(String), } fn quit() { /* .
確定! 回上一頁