Trait CustomFunction

Source
pub trait CustomFunction {
    // Required methods
    fn params(&self) -> Vec<String>;
    fn body_str(&self) -> String;

    // Provided method
    fn compiled_ast(&self) -> Option<&AstExpr> { ... }
}

Required Methods§

Source

fn params(&self) -> Vec<String>

Source

fn body_str(&self) -> String

Provided Methods§

Implementors§