pub trait ContextWithMutableFunctions: Context {
// Provided method
fn set_function(
&mut self,
_identifier: String,
_function: Function
) -> EvalexprResult<()> { ... }
}
Expand description
A context that allows to assign to function identifiers.
Provided Methods§
sourcefn set_function(
&mut self,
_identifier: String,
_function: Function
) -> EvalexprResult<()>
fn set_function( &mut self, _identifier: String, _function: Function ) -> EvalexprResult<()>
Sets the function with the given identifier to the given function.