pub trait IExpressionForeignFunctionInterface {
// Required method
fn call(
&self,
name: &str,
arguments: &[ExpressionVariant],
) -> Option<ExpressionVariant>;
}Expand description
The functions callable from an expression.
Required Methods§
Sourcefn call(
&self,
name: &str,
arguments: &[ExpressionVariant],
) -> Option<ExpressionVariant>
fn call( &self, name: &str, arguments: &[ExpressionVariant], ) -> Option<ExpressionVariant>
Calls the function with the given name and arguments. Returns None
when there is no function with that name accepting the arguments.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".