pub struct Claim<F: PrimeField, C: Commitment<F>> {
pub c: C,
pub x: F,
pub y: F,
}Expand description
A tuple (c, x, y) of the form (G, F, F). Represents a claim that {f(x) = y, for a polynomial f such that commit(f) = c}. In other words, it is am instance in some language of “correct polynomial evaluations”. Soundness properties of a claim are defined by that of the argument.
Fields§
§c: C§x: F§y: FImplementations§
Trait Implementations§
Source§impl<F: Clone + PrimeField, C: Clone + Commitment<F>> Clone for Claim<F, C>
impl<F: Clone + PrimeField, C: Clone + Commitment<F>> Clone for Claim<F, C>
Auto Trait Implementations§
impl<F, C> Freeze for Claim<F, C>
impl<F, C> RefUnwindSafe for Claim<F, C>where
C: RefUnwindSafe,
F: RefUnwindSafe,
impl<F, C> Send for Claim<F, C>where
C: Send,
impl<F, C> Sync for Claim<F, C>
impl<F, C> Unpin for Claim<F, C>
impl<F, C> UnwindSafe for Claim<F, C>where
C: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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