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§
fn into_canonical(array: Array) -> VortexResult<Canonical>
fn with_dyn<R, F>(array: &Array, f: F) -> Rwhere
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.