Trait arrow::datatypes::ToByteSlice

source ·
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§

source

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

Converts this instance into a byte slice

Implementations on Foreign Types§

source§

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

source§

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

Implementors§

source§

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