Trait snarkvm_wasm::integers::Sub [−][src]
pub trait Sub<F, Rhs = Self> where
F: Field, { type ErrorType; fn sub<CS>(&self, cs: CS, other: &Self) -> Result<Self, Self::ErrorType>
where
CS: ConstraintSystem<F>; fn sub_unsafe<CS>(
&self,
cs: CS,
other: &Self
) -> Result<Self, Self::ErrorType>
where
CS: ConstraintSystem<F>; }
Expand description
Returns subtraction of self
- other
in the constraint system.
Associated Types
Required methods
fn sub<CS>(&self, cs: CS, other: &Self) -> Result<Self, Self::ErrorType> where
CS: ConstraintSystem<F>,
fn sub_unsafe<CS>(&self, cs: CS, other: &Self) -> Result<Self, Self::ErrorType> where
CS: ConstraintSystem<F>,