From b488abcb5b30bff96e171c7e31d40ecd42f0e1b2 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Mon, 21 Feb 2022 14:51:27 +0100 Subject: [PATCH] Derive more traits for `Vertex` --- src/kernel/topology/vertices.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/topology/vertices.rs b/src/kernel/topology/vertices.rs index 3643d98a5..57fb7bbd7 100644 --- a/src/kernel/topology/vertices.rs +++ b/src/kernel/topology/vertices.rs @@ -14,7 +14,7 @@ pub struct Vertices(pub Vec>); /// /// Points, on the other hand, might be used to approximate a shape for various /// purposes, without presenting any deeper truth about the shape's structure. -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq, Ord, PartialOrd)] pub struct Vertex { location: Point,