pub struct ProofEvaluations<F: Field> {
pub wires_evals: Vec<F>,
pub wire_sigma_evals: Vec<F>,
pub perm_next_eval: F,
}
Expand description
A struct that stores the polynomial evaluations in a Plonk proof.
Fields§
§wires_evals: Vec<F>
Wire witness polynomials evaluations at point zeta
.
wire_sigma_evals: Vec<F>
Extended permutation (sigma) polynomials evaluations at point zeta
.
We do not include the last sigma polynomial evaluation.
perm_next_eval: F
Permutation product polynomial evaluation at point zeta * g
.
Trait Implementations§
Source§impl<F: Field> CanonicalDeserialize for ProofEvaluations<F>
impl<F: Field> CanonicalDeserialize for ProofEvaluations<F>
Source§fn deserialize_with_mode<R: Read>(
reader: R,
compress: Compress,
validate: Validate,
) -> Result<Self, SerializationError>
fn deserialize_with_mode<R: Read>( reader: R, compress: Compress, validate: Validate, ) -> Result<Self, SerializationError>
The general deserialize method that takes in customization flags.
fn deserialize_compressed<R>(reader: R) -> Result<Self, SerializationError>where
R: Read,
fn deserialize_compressed_unchecked<R>(
reader: R,
) -> Result<Self, SerializationError>where
R: Read,
fn deserialize_uncompressed<R>(reader: R) -> Result<Self, SerializationError>where
R: Read,
fn deserialize_uncompressed_unchecked<R>(
reader: R,
) -> Result<Self, SerializationError>where
R: Read,
Source§impl<F: Field> CanonicalSerialize for ProofEvaluations<F>
impl<F: Field> CanonicalSerialize for ProofEvaluations<F>
Source§fn serialize_with_mode<W: Write>(
&self,
writer: W,
compress: Compress,
) -> Result<(), SerializationError>
fn serialize_with_mode<W: Write>( &self, writer: W, compress: Compress, ) -> Result<(), SerializationError>
The general serialize method that takes in customization flags.
fn serialized_size(&self, compress: Compress) -> usize
fn serialize_compressed<W>(&self, writer: W) -> Result<(), SerializationError>where
W: Write,
fn compressed_size(&self) -> usize
fn serialize_uncompressed<W>(&self, writer: W) -> Result<(), SerializationError>where
W: Write,
fn uncompressed_size(&self) -> usize
Source§impl<F: Clone + Field> Clone for ProofEvaluations<F>
impl<F: Clone + Field> Clone for ProofEvaluations<F>
Source§fn clone(&self) -> ProofEvaluations<F>
fn clone(&self) -> ProofEvaluations<F>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<F: Debug + Field> Debug for ProofEvaluations<F>
impl<F: Debug + Field> Debug for ProofEvaluations<F>
Source§impl<F> Default for ProofEvaluations<F>where
F: Field,
impl<F> Default for ProofEvaluations<F>where
F: Field,
Source§impl<F: Field> From<ProofEvaluations<F>> for Vec<F>
impl<F: Field> From<ProofEvaluations<F>> for Vec<F>
Source§fn from(evals: ProofEvaluations<F>) -> Self
fn from(evals: ProofEvaluations<F>) -> Self
Converts to this type from the input type.
Source§impl<F: Hash + Field> Hash for ProofEvaluations<F>
impl<F: Hash + Field> Hash for ProofEvaluations<F>
Source§impl<F: PartialEq + Field> PartialEq for ProofEvaluations<F>
impl<F: PartialEq + Field> PartialEq for ProofEvaluations<F>
Source§impl<F: Field> TryFrom<Vec<F>> for ProofEvaluations<F>
impl<F: Field> TryFrom<Vec<F>> for ProofEvaluations<F>
Source§impl<F: Field> Valid for ProofEvaluations<F>
impl<F: Field> Valid for ProofEvaluations<F>
impl<F: Eq + Field> Eq for ProofEvaluations<F>
impl<F: Field> StructuralPartialEq for ProofEvaluations<F>
Auto Trait Implementations§
impl<F> Freeze for ProofEvaluations<F>where
F: Freeze,
impl<F> RefUnwindSafe for ProofEvaluations<F>where
F: RefUnwindSafe,
impl<F> Send for ProofEvaluations<F>
impl<F> Sync for ProofEvaluations<F>
impl<F> Unpin for ProofEvaluations<F>where
F: Unpin,
impl<F> UnwindSafe for ProofEvaluations<F>where
F: 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
§impl<T> CanonicalSerializeHashExt for Twhere
T: CanonicalSerialize,
impl<T> CanonicalSerializeHashExt for Twhere
T: CanonicalSerialize,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
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