risingwave_expr::expr

Trait ExpressionBoxExt

source
pub trait ExpressionBoxExt
where Self: Expression + 'static,
{ // Required method fn boxed(self) -> BoxedExpression; }
Expand description

Extension trait for boxing expressions.

This is not directly made into Expression trait because…

  • an expression does not have to be 'static,
  • and for the ease of auto_impl.

Required Methods§

source

fn boxed(self) -> BoxedExpression

Wrap the expression in a Box.

Implementors§

source§

impl<E: Expression + 'static> ExpressionBoxExt for E