polars_core::prelude

Trait FromData

pub trait FromData<T> {
    // Required method
    fn from_data_default(values: T, validity: Option<Bitmap>) -> Self;
}

Required Methods§

fn from_data_default(values: T, validity: Option<Bitmap>) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

§

impl FromData<Bitmap> for BooleanArray

§

impl<T> FromData<Buffer<T>> for PrimitiveArray<T>
where T: NativeType,