Trait parquet2::encoding::bitpacked::Packed

source ·
pub trait Packed: Copy + Sized + AsRef<[u8]> + AsMut<[u8]> + IndexMut<usize, Output = u8> + for<'a> TryFrom<&'a [u8]> {
    const LENGTH: usize;

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

A byte slice (e.g. [u8; 8]) denoting types that represent complete packs.

Required Associated Constants§

Required Methods§

source

fn zero() -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Packed for [u8; 8]

source§

const LENGTH: usize = 8usize

source§

fn zero() -> Self

source§

impl Packed for [u8; 32]

source§

const LENGTH: usize = 32usize

source§

fn zero() -> Self

source§

impl Packed for [u8; 128]

source§

const LENGTH: usize = 128usize

source§

fn zero() -> Self

source§

impl Packed for [u8; 4096]

source§

const LENGTH: usize = 4_096usize

source§

fn zero() -> Self

Implementors§