Add more bounds to Object

This is required for a method I'm working on right now.
This commit is contained in:
Hanno Braun 2022-04-01 17:43:03 +02:00
parent 55a36cb86e
commit 3ba26f05e8

View File

@ -8,7 +8,10 @@ use crate::{
use super::validate::Validate; use super::validate::Validate;
/// Marker trait for geometric and topological objects /// 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 Point<3> {}
impl private::Sealed for Curve {} impl private::Sealed for Curve {}