Skip to main content

Interpretable

Trait Interpretable 

Source
pub trait Interpretable {
    // Required method
    fn interpret<I: Interpreter + ?Sized>(&self, interpreter: &I) -> I::Summary;
}
Expand description

A scalar expression an Interpreter can summarize.

Implemented by MirScalarExpr, and by the LIR scalar expression in mz_compute_types, so the interpreter runs over a plan in either form.

Required Methods§

Source

fn interpret<I: Interpreter + ?Sized>(&self, interpreter: &I) -> I::Summary

Summarize self by delegating each node to interpreter.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§