Trait evalexpr::ContextWithMutableFunctions
source · [−]pub trait ContextWithMutableFunctions: Context {
fn set_function(
&mut self,
_identifier: String,
_function: Function
) -> EvalexprResult<()> { ... }
}
Expand description
A context that allows to assign to function identifiers.
Provided methods
fn 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.