Trait ColumnIndexer

Source
pub trait ColumnIndexer<T>:
    Debug
    + Copy
    + Eq
    + Ord {
    const N_COL: usize;

    // Required method
    fn to_column(self) -> Column<T>;
}
Expand description

A datatype expressing a generalized column, but with potentially more convenient interface than a bare column.

Required Associated Constants§

Source

const N_COL: usize

Total number of columns in this index.

Required Methods§

Source

fn to_column(self) -> Column<T>

Flatten the column “alias” into the integer-like column.

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§