Skip to main content

SimplifyCtx

Trait SimplifyCtx 

Source
pub trait SimplifyCtx {
    // Required method
    fn return_dtype(&self, expr: &Expression) -> VortexResult<DType>;
}
Expand description

Context for simplification.

Used to lazily compute input data types where simplification requires them.

Required Methods§

Source

fn return_dtype(&self, expr: &Expression) -> VortexResult<DType>

Get the data type of the given expression.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§