Trait evalexpr::ContextWithMutableFunctions[][src]

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<()>
[src]

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

Implementors

impl ContextWithMutableFunctions for HashMapContext[src]

fn set_function(
    &mut self,
    identifier: String,
    function: Function
) -> EvalexprResult<()>
[src]