rust enum 是典型的代数数据类型系统ADT, 可以传参,可以组合等, ... i32 { //注意Self 也是上面enum的类型别名。 match self { Self::Add => x + y, ...
確定! 回上一頁