pub trait BuiltinFunctionType: Debug {
// Required methods
fn name(&self) -> String;
fn params_type_checker(&self) -> ParamsTypeCheckerGenerator;
fn return_type_calculator(&self) -> ReturnTypeCalculator;
}Expand description
What is required to calculate the type of a MEL function.
Required Methods§
fn name(&self) -> String
fn params_type_checker(&self) -> ParamsTypeCheckerGenerator
fn return_type_calculator(&self) -> ReturnTypeCalculator
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".