lance_arrow::floats

Trait FloatToArrayType

Source
pub trait FloatToArrayType:
    Float
    + Bounded
    + Sum
    + AddAssign<Self>
    + AsPrimitive<f64>
    + AsPrimitive<f32>
    + DivAssign
    + Send
    + Sync
    + Copy {
    type ArrowType: ArrowFloatType<Native = Self>;
}

Required Associated Types§

Source

type ArrowType: ArrowFloatType<Native = Self>

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 FloatToArrayType for f32

Source§

impl FloatToArrayType for f64

Source§

impl FloatToArrayType for bf16

Source§

impl FloatToArrayType for f16

Implementors§