pub struct ForeignFieldAdd<F>(/* private fields */);
Expand description
Implementation of the foreign field addition gate
- Operates on Curr and Next rows.
Trait Implementations§
Source§impl<F> Argument<F> for ForeignFieldAdd<F>where
F: PrimeField,
impl<F> Argument<F> for ForeignFieldAdd<F>where
F: PrimeField,
Source§const ARGUMENT_TYPE: ArgumentType
const ARGUMENT_TYPE: ArgumentType
The type of constraints that this will produce.
This is important to enforce that we don’t combine the constraints
with powers of alpha that collide with other mutually inclusive arguments.
Source§const CONSTRAINTS: u32 = 4u32
const CONSTRAINTS: u32 = 4u32
The number of constraints created by the argument.
Source§fn constraint_checks<T: ExprOps<F, BerkeleyChallengeTerm>>(
env: &ArgumentEnv<F, T>,
_cache: &mut Cache,
) -> Vec<T>
fn constraint_checks<T: ExprOps<F, BerkeleyChallengeTerm>>( env: &ArgumentEnv<F, T>, _cache: &mut Cache, ) -> Vec<T>
Constraints for this argument
Source§impl<F: Default> Default for ForeignFieldAdd<F>
impl<F: Default> Default for ForeignFieldAdd<F>
Source§fn default() -> ForeignFieldAdd<F>
fn default() -> ForeignFieldAdd<F>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<F> Freeze for ForeignFieldAdd<F>
impl<F> RefUnwindSafe for ForeignFieldAdd<F>where
F: RefUnwindSafe,
impl<F> Send for ForeignFieldAdd<F>where
F: Send,
impl<F> Sync for ForeignFieldAdd<F>where
F: Sync,
impl<F> Unpin for ForeignFieldAdd<F>where
F: Unpin,
impl<F> UnwindSafe for ForeignFieldAdd<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