arrow_buffer::native

Trait 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: ArrowNativeType> ToByteSlice for [T]

Source§

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

Implementors§