pub struct Col<F: TowerField, const VALUES_PER_ROW: usize = 1> {
pub table_id: TableId,
pub table_index: TableId,
pub partition_index: ColumnPartitionIndex,
/* private fields */
}
Expand description
A typed identifier for a column in a table.
The column has entries that are elements of F
. In practice, the fields used will always be
from the canonical tower (B1, B8, B16, B32, B64, B128). The second constant represents how many
elements are packed vertically into a single logical row. For example, a column of type
Col<B1, 32>
will have 2^5 = 32 elements of B1
packed into a single row.
Fields§
§table_id: TableId
§table_index: TableId
§partition_index: ColumnPartitionIndex
Implementations§
Trait Implementations§
Source§impl<F: PartialEq + TowerField, const VALUES_PER_ROW: usize> PartialEq for Col<F, VALUES_PER_ROW>
impl<F: PartialEq + TowerField, const VALUES_PER_ROW: usize> PartialEq for Col<F, VALUES_PER_ROW>
impl<F: Copy + TowerField, const VALUES_PER_ROW: usize> Copy for Col<F, VALUES_PER_ROW>
impl<F: Eq + TowerField, const VALUES_PER_ROW: usize> Eq for Col<F, VALUES_PER_ROW>
impl<F: TowerField, const VALUES_PER_ROW: usize> StructuralPartialEq for Col<F, VALUES_PER_ROW>
Auto Trait Implementations§
impl<F, const VALUES_PER_ROW: usize> Freeze for Col<F, VALUES_PER_ROW>
impl<F, const VALUES_PER_ROW: usize> RefUnwindSafe for Col<F, VALUES_PER_ROW>
impl<F, const VALUES_PER_ROW: usize> Send for Col<F, VALUES_PER_ROW>
impl<F, const VALUES_PER_ROW: usize> Sync for Col<F, VALUES_PER_ROW>
impl<F, const VALUES_PER_ROW: usize> Unpin for Col<F, VALUES_PER_ROW>
impl<F, const VALUES_PER_ROW: usize> UnwindSafe for Col<F, VALUES_PER_ROW>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more