我们也可以自己实现PartialEq,实现时只需要实现判断是否相等的函数fn eq(&self, other: &Self) -> bool ,Rust 会自动提供fn ne(&self, ...
確定! 回上一頁