mirror of
https://github.com/hannobraun/Fornjot
synced 2025-07-08 11:06:06 +00:00
Add trait bounds to CurveBoundariesPayload
This commit is contained in:
parent
2ef4d4a6bb
commit
3e6bd8cd14
@ -70,7 +70,7 @@ impl<T: CurveBoundariesPayload> Default for CurveBoundaries<T> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// A payload that can be used in [`CurveBoundaries`]
|
/// A payload that can be used in [`CurveBoundaries`]
|
||||||
pub trait CurveBoundariesPayload {
|
pub trait CurveBoundariesPayload: Clone + Ord {
|
||||||
/// Reverse the orientation of the payload
|
/// Reverse the orientation of the payload
|
||||||
fn reverse(&mut self);
|
fn reverse(&mut self);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user