Trait polars::datatypes::PolarsDataType
source · pub unsafe trait PolarsDataType: Send + Sync + Sized {
type Physical<'a>;
type Array: for<'a> StaticArray<ValueT<'a> = Self::Physical<'a>>;
// Required method
fn get_dtype() -> DataType
where Self: Sized;
}Expand description
Safety
The StaticArray and dtype return must be correct.
Required Associated Types§
Required Methods§
Implementors§
source§impl PolarsDataType for BinaryType
impl PolarsDataType for BinaryType
source§impl PolarsDataType for BooleanType
impl PolarsDataType for BooleanType
source§impl PolarsDataType for CategoricalType
impl PolarsDataType for CategoricalType
source§impl PolarsDataType for DatetimeType
impl PolarsDataType for DatetimeType
source§impl PolarsDataType for DecimalType
impl PolarsDataType for DecimalType
source§impl PolarsDataType for DurationType
impl PolarsDataType for DurationType
source§impl PolarsDataType for FixedSizeListType
Available on crate feature dtype-array only.
impl PolarsDataType for FixedSizeListType
Available on crate feature
dtype-array only.source§impl PolarsDataType for Float32Type
impl PolarsDataType for Float32Type
source§impl PolarsDataType for Float64Type
impl PolarsDataType for Float64Type
source§impl PolarsDataType for Int128Type
Available on crate feature dtype-decimal only.
impl PolarsDataType for Int128Type
Available on crate feature
dtype-decimal only.source§impl PolarsDataType for ListType
impl PolarsDataType for ListType
source§impl PolarsDataType for UInt16Type
impl PolarsDataType for UInt16Type
source§impl PolarsDataType for UInt32Type
impl PolarsDataType for UInt32Type
source§impl PolarsDataType for UInt64Type
impl PolarsDataType for UInt64Type
source§impl<T> PolarsDataType for ObjectType<T>where
T: PolarsObject,
Available on crate feature object only.
impl<T> PolarsDataType for ObjectType<T>where T: PolarsObject,
Available on crate feature
object only.