#[non_exhaustive]pub struct OperationBuilder { /* private fields */ }
Expand description
A builder for Operation
.
Implementations§
source§impl OperationBuilder
impl OperationBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the operation.
This field is required.sourcepub fn equation(self, input: impl Into<String>) -> Self
pub fn equation(self, input: impl Into<String>) -> Self
Textual representation of the math operation; Equation used to compute the spectral index.
This field is required.sourcepub fn set_equation(self, input: Option<String>) -> Self
pub fn set_equation(self, input: Option<String>) -> Self
Textual representation of the math operation; Equation used to compute the spectral index.
sourcepub fn get_equation(&self) -> &Option<String>
pub fn get_equation(&self) -> &Option<String>
Textual representation of the math operation; Equation used to compute the spectral index.
sourcepub fn output_type(self, input: OutputType) -> Self
pub fn output_type(self, input: OutputType) -> Self
The type of the operation.
sourcepub fn set_output_type(self, input: Option<OutputType>) -> Self
pub fn set_output_type(self, input: Option<OutputType>) -> Self
The type of the operation.
sourcepub fn get_output_type(&self) -> &Option<OutputType>
pub fn get_output_type(&self) -> &Option<OutputType>
The type of the operation.
Trait Implementations§
source§impl Clone for OperationBuilder
impl Clone for OperationBuilder
source§fn clone(&self) -> OperationBuilder
fn clone(&self) -> OperationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OperationBuilder
impl Debug for OperationBuilder
source§impl Default for OperationBuilder
impl Default for OperationBuilder
source§fn default() -> OperationBuilder
fn default() -> OperationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for OperationBuilder
impl PartialEq for OperationBuilder
source§fn eq(&self, other: &OperationBuilder) -> bool
fn eq(&self, other: &OperationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OperationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for OperationBuilder
impl Send for OperationBuilder
impl Sync for OperationBuilder
impl Unpin for OperationBuilder
impl UnwindSafe for OperationBuilder
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.