How to implement PartialEq for an enum?我的定义如下:[cc]enum ... 这消耗了 *self 和 *other ,即使我只需要 match 表达式使用它,也会导致错误: ...
確定! 回上一頁