pub struct Xor16<F>(PhantomData<F>);Tuple Fields§
§0: PhantomData<F>Trait Implementations§
Source§impl<F> Argument<F> for Xor16<F>where
F: PrimeField,
impl<F> Argument<F> for Xor16<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 = 3
const CONSTRAINTS: u32 = 3
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
Auto Trait Implementations§
impl<F> Freeze for Xor16<F>where
PhantomData<F>: Freeze,
impl<F> RefUnwindSafe for Xor16<F>where
PhantomData<F>: RefUnwindSafe,
impl<F> Send for Xor16<F>where
PhantomData<F>: Send,
impl<F> Sync for Xor16<F>where
PhantomData<F>: Sync,
impl<F> Unpin for Xor16<F>where
PhantomData<F>: Unpin,
impl<F> UnsafeUnpin for Xor16<F>where
PhantomData<F>: UnsafeUnpin,
impl<F> UnwindSafe for Xor16<F>where
PhantomData<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