Trait LayoutStrategy

Source
pub trait LayoutStrategy:
    'static
    + Send
    + Sync {
    // Required method
    fn new_writer(
        &self,
        ctx: &ArrayContext,
        dtype: &DType,
    ) -> VortexResult<Box<dyn LayoutWriter>>;
}
Expand description

A trait for creating new layout writers given a DType.

Required Methods§

Source

fn new_writer( &self, ctx: &ArrayContext, dtype: &DType, ) -> VortexResult<Box<dyn LayoutWriter>>

Implementors§