From 6268c607c35effdf8a34038beff4cb0ef30d266a Mon Sep 17 00:00:00 2001 From: Corwin Kuiper Date: Sat, 12 Jun 2021 11:13:49 +0100 Subject: [PATCH] derive ordering and equation --- agb/src/input.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/agb/src/input.rs b/agb/src/input.rs index cd686dd5..46a5c84c 100644 --- a/agb/src/input.rs +++ b/agb/src/input.rs @@ -1,6 +1,7 @@ use bitflags::bitflags; use core::convert::From; +#[derive(PartialEq, Eq, PartialOrd, Ord)] pub enum Tri { Positive = 1, Zero = 0,