Trait arrow::datatypes::ArrowNativeType[][src]

pub trait ArrowNativeType: Debug + Send + Sync + Copy + PartialOrd + FromStr + Default + JsonSerializable {
    fn from_usize(_: usize) -> Option<Self> { ... }
fn to_usize(&self) -> Option<usize> { ... }
fn to_isize(&self) -> Option<isize> { ... }
fn from_i32(_: i32) -> Option<Self> { ... }
fn from_i64(_: i64) -> Option<Self> { ... } }
Expand description

Trait expressing a Rust type that has the same in-memory representation as Arrow. This includes i16, f32, but excludes bool (which in arrow is represented in bits). In little endian machines, types that implement ArrowNativeType can be memcopied to arrow buffers as is.

Provided methods

Convert native type from usize.

Convert native type to usize.

Convert native type to isize.

Convert native type from i32.

Convert native type from i64.

Implementations on Foreign Types

Convert native type from i32.

Convert native type from i64.

Implementors