pub trait MultiRowReadCap<F: PrimeField, CIx: ColumnIndexer<usize>>where
Self: ColWriteCap<F, CIx>,{
// Required methods
fn read_row_column(&mut self, row: usize, col: CIx) -> Self::Variable;
fn next_row(&mut self);
fn curr_row(&self) -> usize;
}
Expand description
Capability for reading and moving forward in a multirow fashion.
Holds a “current” row that can be moved forward with next_row
.
The ColWriteCap
and ColAccessCap
reason in terms of current
row. The two other methods can be used to read/write previous.
Required Methods§
Sourcefn read_row_column(&mut self, row: usize, col: CIx) -> Self::Variable
fn read_row_column(&mut self, row: usize, col: CIx) -> Self::Variable
Read value from a (row,column) position.
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.