Macro ark_r1cs_std::impl_ops [−][src]
macro_rules! impl_ops { ($type : ty, $native : ty, $trait : ident, $fn : ident, $assign_trait : ident, $assign_fn : ident, $impl : expr, $constant_impl : expr, $($args : tt) *) => { ... }; }
Expand description
Implements arithmetic traits (eg: Add
, Sub
, Mul
) for the given type
using the impl in $impl
.
Used primarily for implementing these traits for FieldVar
s and
GroupVar
s.