pub struct BigLinearUairWithPublicInput<R, P>(/* private fields */);Trait Implementations§
Source§impl<R: Clone, P: Clone> Clone for BigLinearUairWithPublicInput<R, P>
impl<R: Clone, P: Clone> Clone for BigLinearUairWithPublicInput<R, P>
Source§fn clone(&self) -> BigLinearUairWithPublicInput<R, P>
fn clone(&self) -> BigLinearUairWithPublicInput<R, P>
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 moreSource§impl<R, P> GenerateRandomTrace<32> for BigLinearUairWithPublicInput<R, P>
impl<R, P> GenerateRandomTrace<32> for BigLinearUairWithPublicInput<R, P>
type PolyCoeff = <BigLinearUair<R, P> as GenerateRandomTrace<32>>::PolyCoeff
type Int = <BigLinearUair<R, P> as GenerateRandomTrace<32>>::Int
fn generate_random_trace<G: Rng + ?Sized>( num_vars: usize, rng: &mut G, ) -> UairTrace<'static, Self::PolyCoeff, Self::Int, 32, 32>
Source§impl<R, P> Uair for BigLinearUairWithPublicInput<R, P>
impl<R, P> Uair for BigLinearUairWithPublicInput<R, P>
Source§type Ideal = <BigLinearUair<R, P> as Uair>::Ideal
type Ideal = <BigLinearUair<R, P> 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 FqIdeal = <BigLinearUair<R, P> as Uair>::FqIdeal
type FqIdeal = <BigLinearUair<R, P> as Uair>::FqIdeal
The ideal type for $F_{q_i}[X]$-constraints emitted via
[
ConstraintBuilder::assert_in_fq_ideal]. UAIRs that do not declare
any primes should set this to [ideal::ImpossibleIdeal].Source§type Scalar = <BigLinearUair<R, P> as Uair>::Scalar
type Scalar = <BigLinearUair<R, P> as Uair>::Scalar
The type of scalars of the UAIR.
For now, we assume they are of the type “arbitrary polynomials”.
Source§type Prime = <BigLinearUair<R, P> as Uair>::Prime
type Prime = <BigLinearUair<R, P> as Uair>::Prime
Type of primes defined in signature. Must be compatible with the field
type we’re using.
Source§fn constrain_general<C, B, FromR, MulByScalar, IFromR, IFqFromR>(
b: &mut B,
expr_cfg: &C,
up: TraceRow<'_, C::Element>,
down: TraceRow<'_, C::Element>,
from_ref: FromR,
mbs: MulByScalar,
ideal_from_ref: IFromR,
fq_ideal_from_ref: IFqFromR,
)
fn constrain_general<C, B, FromR, MulByScalar, IFromR, IFqFromR>( b: &mut B, expr_cfg: &C, up: TraceRow<'_, C::Element>, down: TraceRow<'_, C::Element>, from_ref: FromR, mbs: MulByScalar, ideal_from_ref: IFromR, fq_ideal_from_ref: IFqFromR, )
A general method for describing constraints. Read more
Auto Trait Implementations§
impl<R, P> Freeze for BigLinearUairWithPublicInput<R, P>
impl<R, P> RefUnwindSafe for BigLinearUairWithPublicInput<R, P>where
R: RefUnwindSafe,
P: RefUnwindSafe,
impl<R, P> Send for BigLinearUairWithPublicInput<R, P>
impl<R, P> Sync for BigLinearUairWithPublicInput<R, P>
impl<R, P> Unpin for BigLinearUairWithPublicInput<R, P>
impl<R, P> UnsafeUnpin for BigLinearUairWithPublicInput<R, P>
impl<R, P> UnwindSafe for BigLinearUairWithPublicInput<R, P>where
R: UnwindSafe,
P: 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