vortex_array::encoding

Trait ArrayEncodingExt

Source
pub trait ArrayEncodingExt {
    type D: ArrayDef;

    // Provided methods
    fn into_canonical(array: Array) -> VortexResult<Canonical> { ... }
    fn with_dyn<R, F>(array: &Array, f: F) -> R
       where F: for<'b> FnMut(&'b (dyn ArrayTrait + 'b)) -> R { ... }
}
Expand description

Non-object-safe extensions to the ArrayEncoding trait.

Required Associated Types§

Provided Methods§

Source

fn into_canonical(array: Array) -> VortexResult<Canonical>

Source

fn with_dyn<R, F>(array: &Array, f: F) -> R
where F: for<'b> FnMut(&'b (dyn ArrayTrait + 'b)) -> R,

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.

Implementors§