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§

source

fn set_function( &mut self, _identifier: String, _function: Function ) -> EvalexprResult<()>

Sets the function with the given identifier to the given function.

Implementors§