pub trait CustomFunction {
// Required methods
fn params(&self) -> Vec<String>;
fn body_str(&self) -> String;
// Provided method
fn compiled_ast(&self) -> Option<&AstExpr> { ... }
}
pub trait CustomFunction {
// Required methods
fn params(&self) -> Vec<String>;
fn body_str(&self) -> String;
// Provided method
fn compiled_ast(&self) -> Option<&AstExpr> { ... }
}