From 9a61caabf516ddde97e0940af5714a1517086318 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 3 Mar 2022 14:07:33 +0100 Subject: [PATCH] Derive more traits for `Faces` --- src/kernel/topology/faces.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kernel/topology/faces.rs b/src/kernel/topology/faces.rs index 2063faf8b..ebe9a0dea 100644 --- a/src/kernel/topology/faces.rs +++ b/src/kernel/topology/faces.rs @@ -17,7 +17,7 @@ use crate::{ use super::edges::Edges; /// The faces of a shape -#[derive(Clone)] +#[derive(Clone, Debug, Eq, PartialEq, Hash, Ord, PartialOrd)] pub struct Faces(pub Vec); impl Faces { @@ -34,7 +34,7 @@ impl Faces { } /// A face of a shape -#[derive(Clone)] +#[derive(Clone, Debug, Eq, PartialEq, Hash, Ord, PartialOrd)] pub enum Face { /// A face of a shape ///