pub trait LayoutStrategy: Send + Sync {
// Required method
fn new_writer(&self, dtype: &DType) -> VortexResult<Box<dyn LayoutWriter>>;
}Expand description
A trait for creating new layout writers given a DType.
Required Methods§
fn new_writer(&self, dtype: &DType) -> VortexResult<Box<dyn LayoutWriter>>
Implementors§
impl LayoutStrategy for FlatLayout
Implement the LayoutStrategy trait for the FlatLayout for easy use.