From 06f27a35ebd0bb2417ba5b6479ac0a5056f00424 Mon Sep 17 00:00:00 2001 From: TechiePi Date: Thu, 13 Oct 2022 23:21:33 +0200 Subject: [PATCH] Derive some traits --- ctru-rs/src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctru-rs/src/error.rs b/ctru-rs/src/error.rs index 5b0caf1..e8cf7f0 100644 --- a/ctru-rs/src/error.rs +++ b/ctru-rs/src/error.rs @@ -7,7 +7,7 @@ use ctru_sys::result::{R_DESCRIPTION, R_LEVEL, R_MODULE, R_SUMMARY}; pub type Result = ::std::result::Result; -#[derive(Debug, Clone, PartialEq, PartialOrd)] +#[derive(Debug, Copy, Clone, PartialEq, PartialOrd, Eq, Ord)] #[repr(transparent)] pub(crate) struct LibCtruResult(pub i32);