mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-25 16:45:52 +00:00
Add more bounds to Object
This is required for a method I'm working on right now.
This commit is contained in:
parent
55a36cb86e
commit
3ba26f05e8
@ -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 {}
|
||||||
|
Loading…
Reference in New Issue
Block a user