Trait snarkvm_gadgets::traits::integers::neg::Neg[][src]

pub trait Neg<F: Field> where
    Self: Sized
{ type ErrorType; fn neg<CS: ConstraintSystem<F>>(
        &self,
        cs: CS
    ) -> Result<Self, Self::ErrorType>; }
Expand description

Returns a negated representation of self in the constraint system.

Associated Types

Required methods

Implementations on Foreign Types

Implementors