pub struct Table<F: TowerField = B128> {
pub id: TableId,
pub name: String,
pub columns: Vec<ColumnInfo<F>>,
/* private fields */
}
Expand description
A table in an M3 constraint system.
§Invariants
- All expressions in
zero_constraints
have a number of variables less than or equal to the number of table columns (the length ofcolumn_info
). - All flushes in
flushes
contain column indices less than the number of table columns (the length ofcolumn_info
).
Fields§
§id: TableId
§name: String
§columns: Vec<ColumnInfo<F>>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<F> Freeze for Table<F>
impl<F = BinaryField128b> !RefUnwindSafe for Table<F>
impl<F> Send for Table<F>
impl<F> Sync for Table<F>
impl<F> Unpin for Table<F>
impl<F = BinaryField128b> !UnwindSafe for Table<F>
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
§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