Trait parquet::data_type::SliceAsBytes
source · pub trait SliceAsBytes: Sized {
// Required methods
fn slice_as_bytes(self_: &[Self]) -> &[u8] ⓘ;
unsafe fn slice_as_bytes_mut(self_: &mut [Self]) -> &mut [u8] ⓘ;
}
Expand description
Converts an slice of a data type to a slice of bytes.
Required Methods§
sourcefn slice_as_bytes(self_: &[Self]) -> &[u8] ⓘ
fn slice_as_bytes(self_: &[Self]) -> &[u8] ⓘ
Returns slice of bytes for a slice of this data type.
Object Safety§
This trait is not object safe.