polars_parquet::parquet::encoding::bitpacked

Trait Unpacked

Source
pub trait Unpacked<T>:
    Copy
    + Sized
    + AsRef<[T]>
    + AsMut<[T]>
    + Index<usize, Output = T>
    + IndexMut<usize, Output = T>
    + for<'a> TryFrom<&'a [T], Error = TryFromSliceError> {
    const LENGTH: usize;

    // Required method
    fn zero() -> Self;
}
Expand description

A byte slice of Unpackable denoting complete unpacked arrays.

Required Associated Constants§

Required Methods§

Source

fn zero() -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Unpacked<u8> for [u8; 8]

Source§

const LENGTH: usize = 8usize

Source§

fn zero() -> Self

Source§

impl Unpacked<u16> for [u16; 16]

Source§

const LENGTH: usize = 16usize

Source§

fn zero() -> Self

Source§

impl Unpacked<u32> for [u32; 32]

Source§

const LENGTH: usize = 32usize

Source§

fn zero() -> Self

Source§

impl Unpacked<u64> for [u64; 64]

Source§

const LENGTH: usize = 64usize

Source§

fn zero() -> Self

Implementors§