mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-26 17:15:52 +00:00
Update trait name
This commit is contained in:
parent
37402d5f4e
commit
302b1e3540
@ -16,7 +16,7 @@ mod syntax;
|
||||
|
||||
pub mod prelude {
|
||||
pub use crate::syntax::{
|
||||
Rotate as _, Sketch as _, Sweep as _, Translate as _, Union as _,
|
||||
Group as _, Rotate as _, Sketch as _, Sweep as _, Translate as _,
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -70,13 +70,13 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
pub trait Union {
|
||||
pub trait Group {
|
||||
fn group<Other>(&self, other: &Other) -> crate::Group
|
||||
where
|
||||
Other: Clone + Into<crate::Shape3d>;
|
||||
}
|
||||
|
||||
impl<T> Union for T
|
||||
impl<T> Group for T
|
||||
where
|
||||
T: Clone + Into<crate::Shape3d>,
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user