Skip to main content

BitPackedArrayExt

Trait BitPackedArrayExt 

Source
pub trait BitPackedArrayExt: BitPackedArraySlotsExt {
    // Provided methods
    fn packed(&self) -> &BufferHandle { ... }
    fn bit_width(&self) -> u8 { ... }
    fn offset(&self) -> u16 { ... }
    fn patches(&self) -> Option<Patches> { ... }
    fn validity(&self) -> Validity { ... }
    fn packed_slice<T: NativePType + BitPacking>(&self) -> &[T] { ... }
    fn unpacked_chunks<'a, T: BitPackedIter>(
        &'a self,
        scratch: &'a mut [MaybeUninit<T>; 1024],
    ) -> VortexResult<BitUnpackedChunks<'a, T>> { ... }
}

Provided Methods§

Source

fn packed(&self) -> &BufferHandle

Source

fn bit_width(&self) -> u8

Source

fn offset(&self) -> u16

Source

fn patches(&self) -> Option<Patches>

Source

fn validity(&self) -> Validity

Source

fn packed_slice<T: NativePType + BitPacking>(&self) -> &[T]

Source

fn unpacked_chunks<'a, T: BitPackedIter>( &'a self, scratch: &'a mut [MaybeUninit<T>; 1024], ) -> VortexResult<BitUnpackedChunks<'a, T>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§