polars::prelude

Trait BinaryUdfOutputField

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>;
}
Available on crate feature lazy only.

Required Methods§

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

Implementors§

§

impl<F> BinaryUdfOutputField for F
where F: Fn(&Schema<DataType>, Context, &Field, &Field) -> Option<Field> + Send + Sync,