pub trait RowFormat:
Debug
+ Clone
+ 'static {
type Builder: RowBatchBuilder<Self>;
type View: RowFormatView<Self>;
const COLUMNS: usize;
// Required methods
fn builder(fields: &[Arc<Field>]) -> Result<Self::Builder>;
fn view(
rows: usize,
fields: &[Arc<Field>],
arrays: &[ArrayRef],
) -> Result<Self::View>;
}
Required Associated Constants§
Required Associated Types§
type Builder: RowBatchBuilder<Self>
type View: RowFormatView<Self>
Required Methods§
fn builder(fields: &[Arc<Field>]) -> Result<Self::Builder>
fn view( rows: usize, fields: &[Arc<Field>], arrays: &[ArrayRef], ) -> Result<Self::View>
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.