pub struct LayoutStrategy {
pub reverse_selectors: bool,
pub variable_order: VariableOrder,
}Expand description
Verifier-side metadata required to replay a committed layout.
Fields§
§reverse_selectors: boolWhether selector bits are reversed and appended after local bits.
variable_order: VariableOrderVariable order used by the residual WHIR/sumcheck rounds.
Implementations§
Source§impl LayoutStrategy
impl LayoutStrategy
pub const fn new(reverse_selectors: bool, variable_order: VariableOrder) -> Self
Trait Implementations§
Source§impl Clone for LayoutStrategy
impl Clone for LayoutStrategy
Source§fn clone(&self) -> LayoutStrategy
fn clone(&self) -> LayoutStrategy
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 LayoutStrategy
Source§impl Debug for LayoutStrategy
impl Debug for LayoutStrategy
impl Eq for LayoutStrategy
Source§impl PartialEq for LayoutStrategy
impl PartialEq for LayoutStrategy
Source§fn eq(&self, other: &LayoutStrategy) -> bool
fn eq(&self, other: &LayoutStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LayoutStrategy
Auto Trait Implementations§
impl Freeze for LayoutStrategy
impl RefUnwindSafe for LayoutStrategy
impl Send for LayoutStrategy
impl Sync for LayoutStrategy
impl Unpin for LayoutStrategy
impl UnsafeUnpin for LayoutStrategy
impl UnwindSafe for LayoutStrategy
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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