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
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.