pub struct Flags<F>(_);
Trait Implementations§
source§impl<F> Argument<F> for Flags<F>where
F: PrimeField,
impl<F> Argument<F> for Flags<F>where F: PrimeField,
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>
Generates the constraints for the Cairo flags Accesses Curr and Next rows
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.
Auto Trait Implementations§
impl<F> RefUnwindSafe for Flags<F>where F: RefUnwindSafe,
impl<F> Send for Flags<F>where F: Send,
impl<F> Sync for Flags<F>where F: Sync,
impl<F> Unpin for Flags<F>where F: Unpin,
impl<F> UnwindSafe for Flags<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