Thanks to visit codestin.com
Credit goes to docs.rs

Arrow2Arrow

Trait Arrow2Arrow 

Source
pub trait Arrow2Arrow: Array {
    // Required methods
    fn to_data(&self) -> ArrayData;
    fn from_data(data: &ArrayData) -> Self;
}
Available on crate feature arrow only.
Expand description

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

Required Methods§

Source

fn to_data(&self) -> ArrayData

Convert this Array into [ArrayData]

Source

fn from_data(data: &ArrayData) -> Self

Create this Array from [ArrayData]

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.

Implementors§