Skip to main content

FemmCallable

Trait FemmCallable 

Source
pub trait FemmCallable {
    // Required method
    fn eval(&self, cx: &mut Cx, call: FemmCall) -> FemmResult<FemmEval>;
}
Expand description

Something that can be evaluated as a FEMM function of its parameters.

Required Methods§

Source

fn eval(&self, cx: &mut Cx, call: FemmCall) -> FemmResult<FemmEval>

Evaluates the callable for one FemmCall, returning its output.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§