pub struct ProvingMemoryCounts {
pub main_cells_with_rot: usize,
pub main_cells_without_rot: usize,
pub interaction_cells: usize,
}Expand description
Cell counts for a proving memory estimate.
main_cells_* are Σ(padded_height * width) in base-field cells, split by whether a trace
opens next-row rotations. interaction_cells is the metered row-interaction slot count after
power-of-two trace padding.
Fields§
§main_cells_with_rot: usizeMain trace cells for AIRs that open next-row rotations after power-of-two padding.
main_cells_without_rot: usizeMain trace cells for AIRs without next-row rotations after power-of-two padding.
interaction_cells: usizeMetered row-interaction slots after power-of-two padding.
Implementations§
Trait Implementations§
Source§impl Clone for ProvingMemoryCounts
impl Clone for ProvingMemoryCounts
Source§fn clone(&self) -> ProvingMemoryCounts
fn clone(&self) -> ProvingMemoryCounts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProvingMemoryCounts
Source§impl Debug for ProvingMemoryCounts
impl Debug for ProvingMemoryCounts
Source§impl Default for ProvingMemoryCounts
impl Default for ProvingMemoryCounts
Source§fn default() -> ProvingMemoryCounts
fn default() -> ProvingMemoryCounts
Returns the “default value” for a type. Read more
impl Eq for ProvingMemoryCounts
Source§impl PartialEq for ProvingMemoryCounts
impl PartialEq for ProvingMemoryCounts
impl StructuralPartialEq for ProvingMemoryCounts
Auto Trait Implementations§
impl Freeze for ProvingMemoryCounts
impl RefUnwindSafe for ProvingMemoryCounts
impl Send for ProvingMemoryCounts
impl Sync for ProvingMemoryCounts
impl Unpin for ProvingMemoryCounts
impl UnsafeUnpin for ProvingMemoryCounts
impl UnwindSafe for ProvingMemoryCounts
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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