MathFunction

Trait MathFunction 

Source
pub trait MathFunction: Function {
    // Required method
    fn new(ctx: &Context, nodes: &[Node]) -> Result<Self, Error>
       where Self: Sized;
}
Expand description

A Function which can be built from a math expression

Required Methods§

Source

fn new(ctx: &Context, nodes: &[Node]) -> Result<Self, Error>
where Self: Sized,

Builds a new function from the given context and node

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§