pub struct ComposeOperator;Expand description
Example operator: ComposeOperator concatenates two strings from the context.
Trait Implementations§
Source§impl SomaOperator for ComposeOperator
impl SomaOperator for ComposeOperator
Source§fn execute(&self, inputs: &SymbolicContext) -> Result<SymbolicContext>
fn execute(&self, inputs: &SymbolicContext) -> Result<SymbolicContext>
Execute the operator on the given symbolic context, returning a new context or error.
Source§fn metadata(&self) -> OperatorMetadata
fn metadata(&self) -> OperatorMetadata
Return metadata describing the operator for introspection and selection.
Source§fn cognitive_cost(&self) -> f64
fn cognitive_cost(&self) -> f64
Return the estimated cognitive cost of this operator.
Source§fn uncertainty_propagation(&self) -> UncertaintyModel
fn uncertainty_propagation(&self) -> UncertaintyModel
Return the uncertainty propagation model for this operator.
Auto Trait Implementations§
impl Freeze for ComposeOperator
impl RefUnwindSafe for ComposeOperator
impl Send for ComposeOperator
impl Sync for ComposeOperator
impl Unpin for ComposeOperator
impl UnsafeUnpin for ComposeOperator
impl UnwindSafe for ComposeOperator
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