pub struct Union;Expand description
Union operation.
Trait Implementations§
Source§impl BuiltinWorkbenchDefinition for Union
impl BuiltinWorkbenchDefinition for Union
Source§fn kind() -> BuiltinWorkbenchKind
fn kind() -> BuiltinWorkbenchKind
The kind of the built-in workbench.
Source§fn workpiece_function() -> &'static BuiltinWorkpieceFn
fn workpiece_function() -> &'static BuiltinWorkpieceFn
The function that generates an output from the workpiece.
Source§fn output_type() -> OutputType
fn output_type() -> OutputType
The expected output type.
Source§fn workpiece(creator: Creator) -> BuiltinWorkpiece
fn workpiece(creator: Creator) -> BuiltinWorkpiece
Construct the workpiece from an argument tuple.
Source§fn parameters() -> ParameterValueList
fn parameters() -> ParameterValueList
Part initialization parameters
Auto Trait Implementations§
impl Freeze for Union
impl RefUnwindSafe for Union
impl Send for Union
impl Sync for Union
impl Unpin for Union
impl UnwindSafe for Union
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> 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