pub trait CustomCallable: Send + Sync {
// Required methods
fn arity(&self) -> usize;
fn invoke<'ctx>(
&self,
interp: &Interpreter<'ctx>,
args: &[LiteralValue],
) -> Result<CalcValue<'ctx>, ExcelError>;
}Required Methods§
fn arity(&self) -> usize
fn invoke<'ctx>( &self, interp: &Interpreter<'ctx>, args: &[LiteralValue], ) -> Result<CalcValue<'ctx>, ExcelError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".