Trait polars::datatypes::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>
+ MinMax
+ IsNull {
type PolarsType: PolarsNumericType;
type TrueDivPolarsType: PolarsNumericType;
}
Required Associated Types§
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl NumericNative for f32
impl NumericNative for f32
type PolarsType = Float32Type
type TrueDivPolarsType = Float32Type
source§impl NumericNative for f64
impl NumericNative for f64
type PolarsType = Float64Type
type TrueDivPolarsType = Float64Type
source§impl NumericNative for i8
impl NumericNative for i8
type PolarsType = Int8Type
type TrueDivPolarsType = Float64Type
source§impl NumericNative for i16
impl NumericNative for i16
type PolarsType = Int16Type
type TrueDivPolarsType = Float64Type
source§impl NumericNative for i32
impl NumericNative for i32
type PolarsType = Int32Type
type TrueDivPolarsType = Float64Type
source§impl NumericNative for i64
impl NumericNative for i64
type PolarsType = Int64Type
type TrueDivPolarsType = Float64Type
source§impl NumericNative for i128
Available on crate feature dtype-decimal
only.
impl NumericNative for i128
Available on crate feature
dtype-decimal
only.