Trait snarkvm_wasm::traits::Add [−][src]
pub trait Add<F, Rhs = Self> where
F: Field, { type ErrorType; fn add<CS>(&self, cs: CS, other: &Self) -> Result<Self, Self::ErrorType>
where
CS: ConstraintSystem<F>; }
Expand description
Returns addition of self + other in the constraint system.
Associated Types
Required methods
fn add<CS>(&self, cs: CS, other: &Self) -> Result<Self, Self::ErrorType> where
CS: ConstraintSystem<F>, [src]
CS: ConstraintSystem<F>,
Implementors
impl<F> Add<F, Int8> for Int8 where
F: PrimeField, [src]
impl<F> Add<F, Int8> for Int8 where
F: PrimeField, [src]impl<F> Add<F, Int16> for Int16 where
F: PrimeField, [src]
impl<F> Add<F, Int16> for Int16 where
F: PrimeField, [src]impl<F> Add<F, Int32> for Int32 where
F: PrimeField, [src]
impl<F> Add<F, Int32> for Int32 where
F: PrimeField, [src]impl<F> Add<F, Int64> for Int64 where
F: PrimeField, [src]
impl<F> Add<F, Int64> for Int64 where
F: PrimeField, [src]impl<F> Add<F, Int128> for Int128 where
F: PrimeField, [src]
impl<F> Add<F, Int128> for Int128 where
F: PrimeField, [src]