Trait polars_lazy::dsl::FunctionOutputField

pub trait FunctionOutputField: Send + Sync {
    // Required method
    fn get_field(
        &self,
        input_schema: &Schema,
        cntxt: Context,
        fields: &[Field]
    ) -> Field;
}

Required Methods§

fn get_field( &self, input_schema: &Schema, cntxt: Context, fields: &[Field] ) -> Field

Implementors§

§

impl<F> FunctionOutputField for F
where F: Fn(&Schema, Context, &[Field]) -> Field + Send + Sync,