Skip to content

Commit

Permalink
Merge pull request #231 from hannobraun/vertex
Browse files Browse the repository at this point in the history
Derive more traits for `Vertex`
  • Loading branch information
hannobraun authored Feb 21, 2022
2 parents aa0cbe5 + b488abc commit d07ab74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kernel/topology/vertices.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub struct Vertices(pub Vec<Vertex<3>>);
///
/// 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<const D: usize> {
location: Point<D>,

Expand Down

0 comments on commit d07ab74

Please sign in to comment.