26.1 Derive. The compiler is capable of providing basic implementations for some traits via the #[derive] attribute. ... #[derive(PartialEq, PartialOrd)].
確定! 回上一頁