polars_lazy::dsl

Trait BinaryUdfOutputField

Source
pub trait BinaryUdfOutputField: Send + Sync {
    // Required method
    fn get_field(
        &self,
        input_schema: &Schema<DataType>,
        cntxt: Context,
        field_a: &Field,
        field_b: &Field,
    ) -> Option<Field>;
}

Required Methods§

Source

fn get_field( &self, input_schema: &Schema<DataType>, cntxt: Context, field_a: &Field, field_b: &Field, ) -> Option<Field>

Implementors§