derive ordering and equation

This commit is contained in:
Corwin Kuiper 2021-06-12 11:13:49 +01:00
parent 67e20b1e72
commit 6268c607c3

View file

@ -1,6 +1,7 @@
use bitflags::bitflags;
use core::convert::From;
#[derive(PartialEq, Eq, PartialOrd, Ord)]
pub enum Tri {
Positive = 1,
Zero = 0,