Skip to main content

Evaluate

Type Alias Evaluate 

Source
pub type Evaluate = Arc<dyn Fn(&mut EvalSite<'_>, &Op, &[Value]) -> Value + Send + Sync>;
Expand description

Resolve the value of an operation. The Rust spelling of the canonical Evaluate callback: it takes the operator and its already reduced terms, and returns the value the expression stands for.

Aliased Typeยง

pub struct Evaluate { /* private fields */ }