pub enum Combine {
NewBody,
Union {
target: String,
},
Intersection {
target: String,
},
Difference {
target: String,
},
}Expand description
What an extrude or revolve does with the solid it builds: keep it as a
new body, or combine it with the solid named target — which that
consumes, like a Boolean does. Difference cuts the new solid out
of the target: an extruded pocket, a drilled hole.
Either way the step’s result is named after the step — extrude(E) —
so what comes after refers to “what step E left” however it was made.
Combined, the built solid is only a tool, gone once the step is done,
and what the combination creates is named combine(E,...), as
Boolean names its own.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Combine
impl<'de> Deserialize<'de> for Combine
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Combine
Auto Trait Implementations§
impl Freeze for Combine
impl RefUnwindSafe for Combine
impl Send for Combine
impl Sync for Combine
impl Unpin for Combine
impl UnsafeUnpin for Combine
impl UnwindSafe for Combine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more