Trait re_sdk::external::arrow2::array::Arrow2Arrow

pub trait Arrow2Arrow: Array {
    // Required methods
    fn to_data(&self) -> ArrayData;
    fn from_data(data: &ArrayData) -> Self;
}
Expand description

Trait providing bi-directional conversion between arrow2 Array and arrow-rs ArrayData

Required Methods§

fn to_data(&self) -> ArrayData

Convert this Array into [ArrayData]

fn from_data(data: &ArrayData) -> Self

Create this Array from [ArrayData]

Object Safety§

This trait is not object safe.

Implementors§