pub trait NumericNative:
TotalOrd
+ PartialOrd
+ TotalHash
+ NativeType
+ Num<Output = Self, Output = Self, Output = Self, Output = Self, Output = Self>
+ NumCast
+ Zero
+ One
+ 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-i128 only.
impl NumericNative for i128
Available on crate feature
dtype-i128 only.type PolarsType = Int128Type
type TrueDivPolarsType = Float64Type
Source§impl NumericNative for u8
impl NumericNative for u8
type PolarsType = UInt8Type
type TrueDivPolarsType = Float64Type
Source§impl NumericNative for u16
impl NumericNative for u16
type PolarsType = UInt16Type
type TrueDivPolarsType = Float64Type
Source§impl NumericNative for u32
impl NumericNative for u32
type PolarsType = UInt32Type
type TrueDivPolarsType = Float64Type
Source§impl NumericNative for u64
impl NumericNative for u64
type PolarsType = UInt64Type
type TrueDivPolarsType = Float64Type
Source§impl NumericNative for u128
Available on crate feature dtype-u128 only.
impl NumericNative for u128
Available on crate feature
dtype-u128 only.type PolarsType = UInt128Type
type TrueDivPolarsType = Float64Type
Implementors§
Source§impl NumericNative for pf16
Available on crate feature dtype-f16 only.
impl NumericNative for pf16
Available on crate feature
dtype-f16 only.