Trait lance_arrow::floats::FloatArray

source ·
pub trait FloatArray<T: ArrowFloatType + ?Sized>:
    Array
    + Clone
    + From<Vec<T::Native>>
    + 'static {
    type FloatType: ArrowFloatType;

    // Required method
    fn as_slice(&self) -> &[T::Native];
}
Expand description

FloatArray is a trait that is implemented by all float type arrays.

Required Associated Types§

Required Methods§

source

fn as_slice(&self) -> &[T::Native]

Returns a reference to the underlying data as a slice.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FloatArray<Float16Type> for Float16Array

source§

impl FloatArray<Float32Type> for Float32Array

source§

impl FloatArray<Float64Type> for Float64Array

Implementors§