pub trait PolarsHandler:
Literal
+ Send
+ Sync {
type ChunkedArrayType: PolarsNumericType<Native = Self> + 'static;
// Required methods
fn polars_dtype() -> DataType;
fn from_named_vec(name: &str, vec: &[Self]) -> Column
where Self: Sized;
}Expand description
Handle polars dtypes and conversions.
Required Associated Types§
type ChunkedArrayType: PolarsNumericType<Native = Self> + 'static
Required Methods§
fn polars_dtype() -> DataType
fn from_named_vec(name: &str, vec: &[Self]) -> Columnwhere
Self: Sized,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".