ExprWithLambdasRewriter2

Trait ExprWithLambdasRewriter2 

Source
pub trait ExprWithLambdasRewriter2: Sized {
    // Provided methods
    fn f_down(
        &mut self,
        node: Expr,
        _schema: &DFSchema,
    ) -> Result<Transformed<Expr>> { ... }
    fn f_up(
        &mut self,
        node: Expr,
        _schema: &DFSchema,
    ) -> Result<Transformed<Expr>> { ... }
}

Provided Methods§

Source

fn f_down( &mut self, node: Expr, _schema: &DFSchema, ) -> Result<Transformed<Expr>>

Invoked while traversing down the tree before any children are rewritten. Default implementation returns the node as is and continues recursion.

Source

fn f_up(&mut self, node: Expr, _schema: &DFSchema) -> Result<Transformed<Expr>>

Invoked while traversing up the tree after all children have been rewritten. Default implementation returns the node as is and continues recursion.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§