Trait polars_lazy::dsl::UdfSchema

pub trait UdfSchema: Send + Sync {
    // Required method
    fn get_schema(
        &self,
        input_schema: &Schema
    ) -> Result<Arc<Schema>, PolarsError>;
}

Required Methods§

fn get_schema(&self, input_schema: &Schema) -> Result<Arc<Schema>, PolarsError>

Trait Implementations§

§

impl Debug for dyn UdfSchema

§

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

Formats the value using the given formatter. Read more

Implementors§

§

impl<F> UdfSchema for F
where F: Fn(&Schema) -> Result<Arc<Schema>, PolarsError> + Send + Sync,