From 3ba26f05e8898d85402d1e4c0625a6e564d4e0d3 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Fri, 1 Apr 2022 17:43:03 +0200 Subject: [PATCH] Add more bounds to `Object` This is required for a method I'm working on right now. --- fj-kernel/src/shape/object.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fj-kernel/src/shape/object.rs b/fj-kernel/src/shape/object.rs index 059ab3728..75b5fa724 100644 --- a/fj-kernel/src/shape/object.rs +++ b/fj-kernel/src/shape/object.rs @@ -8,7 +8,10 @@ use crate::{ use super::validate::Validate; /// Marker trait for geometric and topological objects -pub trait Object: 'static + Validate + private::Sealed {} +pub trait Object: + 'static + Clone + PartialEq + Validate + private::Sealed +{ +} impl private::Sealed for Point<3> {} impl private::Sealed for Curve {}