pub unsafe trait ColumnProjections<'a> {
    type View;
    type ViewMut;
}
Expand description

Projections for ColumnBuffers, allowing for reading writing data while bound as a rowset or parameter buffer without invalidating invariants of the type.

Intended as part for the ColumnBuffer trait. Currently seperated to allow to compile without GAT.

Safety

View may not allow access to invalid rows.

Associated Types

Immutable view on the column data. Used in safe abstractions. User must not be able to access uninitialized or invalid memory of the buffer through this interface.

Used to gain access to the buffer, if bound as a parameter for inserting.

Implementors