pub trait SeriesBinaryUdf: Send + Sync {
    // Required method
    fn call_udf(&self, a: Series, b: Series) -> Result<Series, PolarsError>;
}
Expand description

A wrapper trait for any binary closure Fn(Series, Series) -> PolarsResult<Series>

Required Methods§

source

fn call_udf(&self, a: Series, b: Series) -> Result<Series, PolarsError>

Trait Implementations§

source§

impl Debug for dyn SeriesBinaryUdf

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Implementors§

source§

impl<F> SeriesBinaryUdf for Fwhere F: Fn(Series, Series) -> Result<Series, PolarsError> + Send + Sync,