polars::prelude::datatypes

Trait NumericNative

Source
pub trait NumericNative:
    TotalOrd
    + PartialOrd
    + NativeType
    + Num<Output = Self, Output = Self, Output = Self, Output = Self, Output = Self>
    + NumCast
    + Zero
    + One
    + Simd
    + Sum
    + Add
    + Sub
    + Mul
    + Div
    + Rem
    + AddAssign
    + SubAssign
    + AbsDiff
    + Bounded
    + FromPrimitive
    + IsFloat
    + HasPrimitiveArithmeticKernel<TrueDivT = <Self::TrueDivPolarsType as PolarsNumericType>::Native>
    + FloatSum<f64>
    + AsPrimitive<f64>
    + MinMax
    + IsNull {
    type PolarsType: PolarsNumericType;
    type TrueDivPolarsType: PolarsNumericType;
}

Required Associated Types§

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.

Implementations on Foreign Types§

Source§

impl NumericNative for f32

Source§

impl NumericNative for f64

Source§

impl NumericNative for i8

Source§

impl NumericNative for i16

Source§

impl NumericNative for i32

Source§

impl NumericNative for i64

Source§

impl NumericNative for i128

Available on crate feature dtype-decimal only.
Source§

impl NumericNative for u8

Source§

impl NumericNative for u16

Source§

impl NumericNative for u32

Source§

impl NumericNative for u64

Implementors§