Trait snarkvm_wasm::traits::utilities::bits::Xor[][src]

pub trait Xor<F, Rhs = Self> where
    F: Field
{ pub fn xor<CS>(&self, cs: CS, rhs: &Self) -> Result<Self, SynthesisError>
    where
        CS: ConstraintSystem<F>
; }

Performs a bitwise XOR operation between self and other in the constraint system.

Required methods

pub fn xor<CS>(&self, cs: CS, rhs: &Self) -> Result<Self, SynthesisError> where
    CS: ConstraintSystem<F>, 
[src]

Loading content...

Implementors

impl<F> Xor<F, Boolean> for Boolean where
    F: Field
[src]

impl<F> Xor<F, AllocatedBit> for AllocatedBit where
    F: Field
[src]

impl<F> Xor<F, UInt8> for UInt8 where
    F: PrimeField
[src]

impl<F> Xor<F, UInt16> for UInt16 where
    F: PrimeField
[src]

impl<F> Xor<F, UInt32> for UInt32 where
    F: PrimeField
[src]

impl<F> Xor<F, UInt64> for UInt64 where
    F: PrimeField
[src]

impl<F> Xor<F, UInt128> for UInt128 where
    F: PrimeField
[src]

Loading content...