Function

Trait Function 

Source
pub trait Function: Send + Sync {
    // Required method
    fn call(&self, fs: Arc<dyn FunctionSet>, args: Vec<Value>) -> Result<Value>;
}

Required Methods§

Source

fn call(&self, fs: Arc<dyn FunctionSet>, args: Vec<Value>) -> Result<Value>

Implementors§

Source§

impl<A, O> Function for FunctionImpl<A, O>
where O: Serialize,