pub struct Multiply;Expand description
An operation that repeats a geometry n-1 times.
Trait Implementations§
Source§impl BuiltinWorkbenchDefinition for Multiply
impl BuiltinWorkbenchDefinition for Multiply
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 parameters() -> ParameterValueList
fn parameters() -> ParameterValueList
Part initialization parameters
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§impl Operation for Multiply
impl Operation for Multiply
Source§fn process_2d(
&self,
context: &mut RenderContext,
) -> RenderResult<Geometry2DOutput>
fn process_2d( &self, context: &mut RenderContext, ) -> RenderResult<Geometry2DOutput>
Process the model and output a 2D geometry.
Source§fn process_3d(
&self,
context: &mut RenderContext,
) -> RenderResult<Geometry3DOutput>
fn process_3d( &self, context: &mut RenderContext, ) -> RenderResult<Geometry3DOutput>
Process the model and output a 3D geometry.
Source§fn output_type(&self) -> OutputType
fn output_type(&self) -> OutputType
The output type of this operation. Read more
Auto Trait Implementations§
impl Freeze for Multiply
impl RefUnwindSafe for Multiply
impl Send for Multiply
impl Sync for Multiply
impl Unpin for Multiply
impl UnwindSafe for Multiply
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