arrow::datatypes

Trait ToByteSlice

pub trait ToByteSlice {
    // Required method
    fn to_byte_slice(&self) -> &[u8] ;
}
Expand description

Allows conversion from supported Arrow types to a byte slice.

Required Methods§

fn to_byte_slice(&self) -> &[u8]

Converts this instance into a byte slice

Implementations on Foreign Types§

§

impl<T> ToByteSlice for [T]
where T: ArrowNativeType,

§

fn to_byte_slice(&self) -> &[u8]

Implementors§

§

impl<T> ToByteSlice for T
where T: ArrowNativeType,