pub struct QueryAnswerPair<U, const WIDTH: usize> {
pub input: [U; WIDTH],
pub output: [U; WIDTH],
}Expand description
One evaluation of the permutation: the state it read and the state it wrote. Over wires in a relation, over values in a witness.
Fields§
§input: [U; WIDTH]§output: [U; WIDTH]Implementations§
Source§impl<U, const WIDTH: usize> QueryAnswerPair<U, WIDTH>
impl<U, const WIDTH: usize> QueryAnswerPair<U, WIDTH>
pub const fn new(input: [U; WIDTH], output: [U; WIDTH]) -> Self
Trait Implementations§
Source§impl<U: Clone, const WIDTH: usize> Clone for QueryAnswerPair<U, WIDTH>
impl<U: Clone, const WIDTH: usize> Clone for QueryAnswerPair<U, WIDTH>
Source§fn clone(&self) -> QueryAnswerPair<U, WIDTH>
fn clone(&self) -> QueryAnswerPair<U, WIDTH>
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<U: Eq, const WIDTH: usize> Eq for QueryAnswerPair<U, WIDTH>
impl<U: PartialEq, const WIDTH: usize> StructuralPartialEq for QueryAnswerPair<U, WIDTH>
Auto Trait Implementations§
impl<U, const WIDTH: usize> Freeze for QueryAnswerPair<U, WIDTH>where
[U; WIDTH]: Freeze,
impl<U, const WIDTH: usize> RefUnwindSafe for QueryAnswerPair<U, WIDTH>where
[U; WIDTH]: RefUnwindSafe,
impl<U, const WIDTH: usize> Send for QueryAnswerPair<U, WIDTH>where
[U; WIDTH]: Send,
impl<U, const WIDTH: usize> Sync for QueryAnswerPair<U, WIDTH>where
[U; WIDTH]: Sync,
impl<U, const WIDTH: usize> Unpin for QueryAnswerPair<U, WIDTH>where
[U; WIDTH]: Unpin,
impl<U, const WIDTH: usize> UnsafeUnpin for QueryAnswerPair<U, WIDTH>where
[U; WIDTH]: UnsafeUnpin,
impl<U, const WIDTH: usize> UnwindSafe for QueryAnswerPair<U, WIDTH>where
[U; WIDTH]: UnwindSafe,
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