Skip to content

Commit

Permalink
feat: public Cell
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpwang committed Aug 25, 2023
1 parent 1347316 commit af00668
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions halo2_proofs/src/circuit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,20 +89,9 @@ pub struct Cell {
/// Identifies the region in which this cell resides.
// region_index: RegionIndex,
/// The relative offset of this cell within its region.
row_offset: usize,
pub row_offset: usize,
/// The column of this cell.
column: Column<Any>,
}

impl Cell {
/// Returns row offset
pub fn row_offset(&self) -> usize {
self.row_offset
}
/// Returns reference to column
pub fn column(&self) -> &Column<Any> {
&self.column
}
pub column: Column<Any>,
}

/// An assigned cell.
Expand Down

0 comments on commit af00668

Please sign in to comment.