pub struct BigLinearUairWithPublicInput<R>(/* private fields */);Trait Implementations§
Source§impl<R: Clone> Clone for BigLinearUairWithPublicInput<R>
impl<R: Clone> Clone for BigLinearUairWithPublicInput<R>
Source§fn clone(&self) -> BigLinearUairWithPublicInput<R>
fn clone(&self) -> BigLinearUairWithPublicInput<R>
Returns a duplicate 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<R: Debug> Debug for BigLinearUairWithPublicInput<R>
impl<R: Debug> Debug for BigLinearUairWithPublicInput<R>
Source§impl<R> GenerateRandomTrace<32> for BigLinearUairWithPublicInput<R>
impl<R> GenerateRandomTrace<32> for BigLinearUairWithPublicInput<R>
type PolyCoeff = <BigLinearUair<R> as GenerateRandomTrace<32>>::PolyCoeff
type Int = <BigLinearUair<R> as GenerateRandomTrace<32>>::Int
fn generate_random_trace<Rng: RngCore + ?Sized>( num_vars: usize, rng: &mut Rng, ) -> UairTrace<'static, Self::PolyCoeff, Self::Int, 32>
Source§impl<R> Uair for BigLinearUairWithPublicInput<R>
impl<R> Uair for BigLinearUairWithPublicInput<R>
Source§type Ideal = <BigLinearUair<R> as Uair>::Ideal
type Ideal = <BigLinearUair<R> as Uair>::Ideal
The ideal type the AIR operates with.
Since a
ConstraintBuilder is “opaque” for a Uair
a Uair has to have a means to create ideals
so ideals are fixed by this associated types.
At the constrain* methods a Uair is given
a way to convert its own ideals into builder’s ideals
via the FromRef trait.Source§type Scalar = <BigLinearUair<R> as Uair>::Scalar
type Scalar = <BigLinearUair<R> as Uair>::Scalar
The type of scalars of the UAIR.
For now, we assume they are of
the type “arbitrary polynomials”.
Source§fn signature() -> UairSignature
fn signature() -> UairSignature
Signature of the UAIR. Read more
Source§fn constrain_general<B, FromR, MulByScalar, IFromR>(
b: &mut B,
up: TraceRow<'_, B::Expr>,
down: TraceRow<'_, B::Expr>,
from_ref: FromR,
mbs: MulByScalar,
ideal_from_ref: IFromR,
)
fn constrain_general<B, FromR, MulByScalar, IFromR>( b: &mut B, up: TraceRow<'_, B::Expr>, down: TraceRow<'_, B::Expr>, from_ref: FromR, mbs: MulByScalar, ideal_from_ref: IFromR, )
A general method for describing constraints. Read more
fn constrain<B>(
b: &mut B,
up: TraceRow<'_, <B as ConstraintBuilder>::Expr>,
down: TraceRow<'_, <B as ConstraintBuilder>::Expr>,
)where
B: ConstraintBuilder,
<B as ConstraintBuilder>::Expr: FromRef<Self::Scalar> + for<'b> MulByScalar<&'b Self::Scalar>,
<B as ConstraintBuilder>::Ideal: FromRef<Self::Ideal>,
Auto Trait Implementations§
impl<R> Freeze for BigLinearUairWithPublicInput<R>
impl<R> RefUnwindSafe for BigLinearUairWithPublicInput<R>where
R: RefUnwindSafe,
impl<R> Send for BigLinearUairWithPublicInput<R>where
R: Send,
impl<R> Sync for BigLinearUairWithPublicInput<R>where
R: Sync,
impl<R> Unpin for BigLinearUairWithPublicInput<R>where
R: Unpin,
impl<R> UnsafeUnpin for BigLinearUairWithPublicInput<R>
impl<R> UnwindSafe for BigLinearUairWithPublicInput<R>where
R: 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